diff --git a/docker-compose.yml b/docker-compose.yml index 14ab9aa..5620b45 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "3" +version: "2.1" services: frontend: @@ -10,9 +10,9 @@ services: expose: - "80" labels: - - "traefik.backend=$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME" + - "traefik.backend=${CI_PROJECT_NAME}.${CI_COMMIT_REF_NAME}" - "traefik.docker.network=web" - - "traefik.frontend.rule=Host:$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME.dev.basehosts.de" + - "traefik.frontend.rule=Host:${CI_COMMIT_REF_NAME}.${CI_PROJECT_NAME}.dev.basehosts.de" - "traefik.enable=true" - "traefik.port=80"