yaml
version: "3.8"
services:
databag:
image: balzack/databag:latest
environment:
- ADMIN=${DATABAG_PASSWORD}
volumes:
- /mnt/glustermount/data/databagchat_data:/var/lib/databag
networks:
- management_net
deploy:
mode: replicated
replicas: 1
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.databag.rule=Host(`securechat.aeoneros.com`)'
- 'traefik.http.routers.databag.entrypoints=websecure'
- 'traefik.http.routers.databag.tls.certresolver=leresolver'
- 'traefik.http.services.databag.loadbalancer.server.port=7000'
- 'traefik.docker.network=management_net'
networks:
management_net:
external: true
https://hub.docker.com/r/balzack/databag/tags
https://github.com/balzack/databag?tab=readme-ov-file