gancio/compose.yml

33 lines
820 B
YAML
Raw Permalink Normal View History

2022-08-27 14:38:24 +00:00
---
version: "3.8"
services:
app:
image: cisti/gancio:latest
networks:
- proxy
environment:
2022-08-27 15:18:01 +00:00
- GANCIO_DATA=/data
2022-08-27 14:38:24 +00:00
- GANCIO_DB_DIALECT=sqlite
2022-08-27 15:18:01 +00:00
- GANCIO_DB_STORAGE=/data/gancio.sqlite
- NODE_ENV=production
2022-08-27 14:38:24 +00:00
volumes:
2022-08-27 15:18:01 +00:00
- gancio_data:/data
2022-08-27 14:38:24 +00:00
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=13120"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "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+latest"
volumes:
gancio_data:
networks:
proxy:
external: true