proxy/docker-compose.yml
2017-07-09 19:24:09 +02:00

25 lines
515 B
YAML

version: '2'
services:
proxy:
image: traefik
command: --logLevel=INFO
networks:
- "webgateway"
ports:
- "80:80"
- "443:443"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "./cert/:/cert/"
- "./traefik.toml:/traefik.toml:ro"
- "./config/:/etc/traefik/:ro"
labels:
- "traefik.enable=false" # set to true to expose the Monitoring & API
- "traefik.backend=proxy"
- "traefik.port=8080"
networks:
web:
driver: bridge