This commit is contained in:
Dennis Postma 2025-02-09 01:15:38 +01:00
parent 45964ba7f3
commit be479b11c5
2 changed files with 5 additions and 2 deletions

2
Dockerfile.traefik Normal file
View File

@ -0,0 +1,2 @@
FROM traefik:v3.3.3
COPY config/traefik.yml /etc/traefik/traefik.yml

View File

@ -70,13 +70,14 @@ services:
- app-network
traefik:
image: traefik:v3.3.3
build:
context: .
dockerfile: Dockerfile.traefik
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./config/traefik.yml:/etc/traefik/traefik.yml:ro
- ./certificates:/certificates
networks:
- app-network