This commit is contained in:
Dennis Postma 2025-02-09 01:17:55 +01:00
parent be479b11c5
commit d398764b6d

View File

@ -1,4 +1,18 @@
services:
traefik:
build:
context: .
dockerfile: Dockerfile.traefik
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./certificates:/certificates
networks:
- app-network
restart: unless-stopped
app:
build:
context: .
@ -69,20 +83,6 @@ services:
networks:
- app-network
traefik:
build:
context: .
dockerfile: Dockerfile.traefik
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./certificates:/certificates
networks:
- app-network
restart: unless-stopped
networks:
app-network:
driver: bridge