--- version: "3.8" services: app: image: "vectorim/element-web:v1.11.63" environment: - DOMAIN - HOMESERVER - SERVER_NAME networks: - proxy configs: - source: config_json target: /app/config.json deploy: restart_policy: condition: on-failure labels: - "traefik.enable=true" - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80" - "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.7.0+v1.11.63" networks: proxy: external: true configs: config_json: name: ${STACK_NAME}_config_json_${CONFIG_JSON_VERSION} file: config.json.tmpl template_driver: golang