Add webdis to ansible

This commit is contained in:
Tobias Reisinger 2023-12-04 19:02:08 +01:00
parent afe85702a6
commit 24ca76cd60
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 42 additions and 29 deletions
_ansible/roles/webdis/vars

View file

@ -0,0 +1,25 @@
svc:
name: webdis
domain: "webdis.huck.serguzim.me"
port: 7379
compose:
watchtower: true
image: nicolas/webdis
volumes:
- ./webdis.json:/config/webdis.json
file:
services:
app:
command: /usr/local/bin/webdis /config/webdis.json
depends_on:
- redis
redis:
image: redis:6.2.6
restart: always
labels:
com.centurylinklabs.watchtower.enable: true
networks:
local-net:
networks:
local-net: