baseui/docker-compose.yml

23 lines
494 B
YAML
Raw Permalink Normal View History

2017-09-07 12:05:29 +02:00
version: "2.1"
2017-09-07 11:53:50 +02:00
services:
2017-09-07 11:58:57 +02:00
frontend:
2017-09-07 22:42:18 +02:00
build: .
image: ${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME}
2017-09-07 11:53:50 +02:00
restart: always
networks:
- web
- default
expose:
- "80"
labels:
2017-09-07 12:05:29 +02:00
- "traefik.backend=${CI_PROJECT_NAME}.${CI_COMMIT_REF_NAME}"
2017-09-07 11:53:50 +02:00
- "traefik.docker.network=web"
2017-09-07 12:05:29 +02:00
- "traefik.frontend.rule=Host:${CI_COMMIT_REF_NAME}.${CI_PROJECT_NAME}.dev.basehosts.de"
2017-09-07 11:53:50 +02:00
- "traefik.enable=true"
- "traefik.port=80"
networks:
web:
external: true