proxy/docker-compose.yml
2018-01-17 20:19:59 +01:00

25 lines
503 B
YAML

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