a guest Jun 25th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- defaultEntryPoints = ["http", "https"]
- address = ":80"
- entryPoint = "https"
- address = ":443"
- certFile = "/etc/traefik/certs/server.crt"
- keyFile = "/etc/traefik/certs/server.key"
- image: traefik # The official Traefik docker image
- command: --api --docker # Enables the web UI and tells Traefik to listen to docker
- - "80:80" # The HTTP port
- - "8080:8080" # The Web UI (enabled by --api)
- - /var/run/docker.sock:/var/run/docker.sock # So that Traefik can listen to the Docker events
- - /home/traefik/traefik.toml:/traefik.toml
- - /home/traefik/certs:/etc/traefik/certs
- - traefik-net
RAW Paste Data