Add traefik/docker-compose.yml
This commit is contained in:
20
traefik/docker-compose.yml
Normal file
20
traefik/docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
services:
|
||||||
|
traefik:
|
||||||
|
image: traefik:v3
|
||||||
|
container_name: traefik
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Berlin
|
||||||
|
networks:
|
||||||
|
- frontend
|
||||||
|
ports:
|
||||||
|
- 80:80 # HTTP entryPoints
|
||||||
|
- 443:443 # HTTPS entryPoints
|
||||||
|
- 8080:8080 # Dashbaord WebGui
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro # Docker socket to watch for Traefik
|
||||||
|
- ./traefik.yml:/traefik.yml:ro # Traefik config file
|
||||||
|
- ./certs:/certs # Docker volume to store the acme file for the Certifactes
|
||||||
|
networks:
|
||||||
|
frontend:
|
||||||
|
name: frontend
|
||||||
Reference in New Issue
Block a user