--- version: "3.8" services: app: image: 'ghcr.io/darkrock-studios/hammer-editor/server:sha-8371ac8' # Version 3.9.2 init: true networks: - proxy - internal configs: - source: config target: /data/hammer_data/config.toml mode: 0555 volumes: - 'data:/data' deploy: restart_policy: condition: on-failure labels: - "traefik.enable=true" - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080" - "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}" - "backupbot.backup=true" - "backupbot.backup.path=/data" - "coop-cloud.${STACK_NAME}.version=0.1.0+3.9.2" # TEMPLATE INSTRUCTIONS: Check the application documentation or original compose file for an appropriate healthcheck for this service. Add it in place of the example below. If none is available, comment out this section. # healthcheck: # test: ["CMD", "bash", "/opt/gitlab/etc/gitlab-healthcheck-rc" ] # interval: 30s # timeout: 10s # retries: 10 # start_period: 2m volumes: data: configs: config: name: ${STACK_NAME}_config_${CONFIG_VERSION} file: config.toml.tmpl template_driver: golang networks: proxy: external: true internal: