proxy/docker-compose.yml

25 lines
495 B
YAML
Raw Normal View History

2017-07-09 17:46:14 +02:00
version: '2'
services:
proxy:
image: traefik
command: --logLevel=INFO
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:
- "/var/run/docker.sock:/var/run/docker.sock"
- "./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