Add webdis service

This commit is contained in:
Tobias Reisinger 2025-01-31 02:48:53 +01:00
parent 57fe2ed42c
commit a27a157e22
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 89 additions and 0 deletions
playbooks/roles/webdis/vars

View file

@ -0,0 +1,23 @@
---
webdis_svc:
domain: "{{ all_services | service_get_domain(role_name) }}"
port: 7379
webdis_compose:
watchtower: update
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:
default: