Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- traefik:
- image: traefik:chevrotin
- container_name: traefik
- restart: always
- security_opt:
- - no-new-privileges:true
- networks:
- - proxy
- ports:
- - 80:80
- - 443:443
- - 8083:8080
- volumes:
- - /etc/localtime:/etc/localtime:ro
- - /var/run/docker.sock:/var/run/docker.sock:ro
- - $USERDIR/docker/traefik/data/traefik.yml:/traefik.yml:ro
- - $USERDIR/docker/traefik/configurations:/configurations:ro
- - $USERDIR/docker/traefik/data/acme.json:/acme.json
- - $USERDIR/docker/traefik/log/access.log:/log/access.log
- - $USERDIR/docker/traefik/log/traefik.log:/log/traefik.log
- environment:
- - CF_API_EMAIL=$CLOUDFLARE_EMAIL
- - CF_API_KEY=$CLOUDFLARE_API_KEY
- labels:
- - "traefik.http.routers.traefik-secure.service=api@internal"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement