Update docker-compose.yml

This commit is contained in:
Sebastian Frank 2017-09-07 12:05:29 +02:00
parent 5dbcd15e87
commit 980dc15d67

View File

@ -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"