Fixed nginx conf path in Dockerfile, added traefik

This commit is contained in:
KaasKop-
2023-03-13 14:30:50 +01:00
parent d3e8551cf8
commit fe75231644
2 changed files with 9 additions and 4 deletions

View File

@@ -1,8 +1,13 @@
services:
web:
gds:
image: nginx-gds
build: ./
volumes:
- ./games:/srv/http/games
- ./games:/srv/http/games
ports:
- "6080:80"
- "6080:80"
labels:
- "traefik.http.routers.gds.rule=Host(`gds.mitchelbv.nl`)"
- "traefik.http.routers.gds.entrypoints=web-secure"
- "traefik.http.routers.gds.tls=true"
- "traefik.http.routers.gds.tls.certresolver=cert_resolver"