2017-07-09 17:46:14 +02:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
proxy:
|
2018-05-24 13:57:16 +02:00
|
|
|
image: traefik:1.6
|
2018-01-17 20:19:59 +01:00
|
|
|
command: --logLevel=ERROR
|
2017-07-09 17:46:14 +02:00
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "443:443"
|
2017-09-23 14:57:44 +02:00
|
|
|
- "10.0.0.1:8080:8080"
|
2017-07-09 17:46:14 +02:00
|
|
|
volumes:
|
2017-09-25 20:07:38 +02:00
|
|
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
2017-07-09 17:46:14 +02:00
|
|
|
- "./cert/:/cert/"
|
|
|
|
- "./config/:/etc/traefik/:ro"
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=false" # set to true to expose the Monitoring & API
|
|
|
|
- "traefik.backend=proxy"
|
|
|
|
- "traefik.port=8080"
|
2017-07-09 20:42:15 +02:00
|
|
|
networks:
|
|
|
|
- "web"
|
2017-07-09 17:46:14 +02:00
|
|
|
|
|
|
|
networks:
|
2017-07-09 19:24:09 +02:00
|
|
|
web:
|
2017-07-09 17:46:14 +02:00
|
|
|
driver: bridge
|