proxy/docker-compose.yml

24 lines
495 B
YAML

version: '2'
services:
proxy:
image: traefik
command: --logLevel=INFO
ports:
- "80:80"
- "443:443"
- "10.0.0.1:8080:8080"
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"
networks:
- "web"
networks:
web:
driver: bridge