Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
version: '3.0'
services:
traefik:
image: traefik:alpine
restart: always
ports:
- 80:80
- 443:443
networks:
- traefik_net
volumes:
- "/var/log/traefik:/var/log/traefik"
- "/var/run/docker.sock:/var/run/docker.sock"
- "${PWD}/traefik.toml:/traefik.toml"
- "${PWD}/acme/acme.json:/acme.json"
container_name: traefik
networks:
traefik_net:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.