Last active
February 14, 2024 00:51
-
-
Save wmnnd/afd4d4c6bb78855b43c66110e2483d7d to your computer and use it in GitHub Desktop.
docker-compose with Traefik
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.4' | |
services: | |
traefik: | |
image: traefik:2.1 | |
restart: always | |
ports: | |
- '80:80' | |
- '443:443' | |
volumes: | |
- ./traefik:/etc/traefik | |
- /var/run/docker.sock:/var/run/docker.sock:ro |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment