Update docker-compose.yml
This commit is contained in:
parent
5dbcd15e87
commit
980dc15d67
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user