Advertisement
Guest User

Untitled

a guest
May 24th, 2019
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. version: '3'
  2.  
  3. services:
  4. reverse-proxy:
  5. image: traefik #The official Traefik docker image
  6. container_name: traefik
  7. command: --api --docker #Enables the web UI and tells Træfik to listen to docker
  8. networks:
  9. - web
  10. ports:
  11. - "80:80" #The HTTP port
  12. - "443:443" #The HTTPS port
  13. - "8080:8080" #The Web UI (enabled by --api)
  14. volumes:
  15. - /var/run/docker.sock:/var/run/docker.sock #So that Traefik can listen to the Docker events
  16. - ./traefik.toml:/traefik.toml
  17. - ./acme.json:/acme.json
  18.  
  19. networks:
  20. web:
  21. external: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement