Browse Source

new labels style

Guilhem Saurel 7 years ago
parent
commit
ab02f10695
1 changed files with 3 additions and 3 deletions
  1. 3 3
      docker-compose.yml

+ 3 - 3
docker-compose.yml

@@ -21,9 +21,9 @@ services:
       - proxytanet
       - default
     labels:
-      - "traefik.enable=true"
-      - "traefik.frontend.rule=Host: sentry.${DOMAIN_NAME:-local}"
-      - "traefik.docker.network=proxytanet"
+      traefik.enable: "true"
+      traefik.frontend.rule: "Host: sentry.${CHATONS_DOMAIN:-local}, www.sentry.${CHATONS_DOMAIN:-local}"
+      traefik.docker.network: "proxytanet"
     environment:
       - SENTRY_REDIS_HOST=redis
       - SENTRY_POSTGRES_HOST=postgres