diff --git a/compose.yml b/compose.yml index d77cf8b..a6272c2 100644 --- a/compose.yml +++ b/compose.yml @@ -1,6 +1,4 @@ ---- version: "3.8" - services: app: image: nginx:1.19.2 @@ -19,27 +17,24 @@ services: - "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect" - "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true" - "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" + - coop-cloud.${STACK_NAME}.app.version=1.19.2-c628b67d volumes: - content:/usr/share/nginx/html configs: - source: nginx_default_conf target: /etc/nginx/conf.d/default.conf - #healthcheck: - # test: ["CMD", "curl", "-f", "http://localhost"] - # interval: 30s - # timeout: 10s - # retries: 10 - # start_period: 1m - - + #healthcheck: + # test: ["CMD", "curl", "-f", "http://localhost"] + # interval: 30s + # timeout: 10s + # retries: 10 + # start_period: 1m volumes: content: - configs: nginx_default_conf: name: ${STACK_NAME}_nginx_default_conf_${NGINX_DEFAULT_CONF_VERSION} file: default.conf - networks: proxy: external: true