Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- reverse-proxy:
- image: traefik #The official Traefik docker image
- container_name: traefik
- command: --api --docker #Enables the web UI and tells Træfik to listen to docker
- networks:
- - web
- ports:
- - "80:80" #The HTTP port
- - "443:443" #The HTTPS port
- - "8080:8080" #The Web UI (enabled by --api)
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock #So that Traefik can listen to the Docker events
- - ./traefik.toml:/traefik.toml
- - ./acme.json:/acme.json
- networks:
- web:
- external: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement