forked from coop-cloud/gancio
37 lines
995 B
YAML
37 lines
995 B
YAML
---
|
|
version: "3.8"
|
|
|
|
services:
|
|
app:
|
|
image: cisti/gancio:1.28.2
|
|
networks:
|
|
- proxy
|
|
environment:
|
|
- GANCIO_DATA=/data
|
|
- GANCIO_DB_DIALECT=sqlite
|
|
- GANCIO_DB_STORAGE=/data/gancio.sqlite
|
|
- NODE_ENV=production
|
|
volumes:
|
|
- gancio_data:/data
|
|
deploy:
|
|
restart_policy:
|
|
condition: on-failure
|
|
max_attempts: 10
|
|
labels:
|
|
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
|
|
- "backupbot.backup.path=/data"
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=proxy"
|
|
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=13120"
|
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
|
- "coop-cloud.${STACK_NAME}.version=0.1.0+1.25.1"
|
|
|
|
volumes:
|
|
gancio_data:
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|