2017-07-21 15:01:53 +02:00
|
|
|
pipeline:
|
2017-07-21 16:29:26 +02:00
|
|
|
build:
|
|
|
|
image: docker
|
|
|
|
commands:
|
|
|
|
- docker build -t site-max .
|
|
|
|
- docker stop site-max
|
|
|
|
- docker rm site-max
|
|
|
|
- docker run -d --network nginx-net --name site-max --label traefik.frontend.rule=Host:maxspiegel.fr --label traefik.port=80 site-max
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|