Fixed port assignment and added restart policy

This commit is contained in:
KaasKop-
2023-03-13 14:53:22 +01:00
parent ea44a6ff76
commit 43b3611b65

View File

@@ -1,5 +1,6 @@
services: services:
gds: gds:
restart: unless-stopped
image: nginx-gds image: nginx-gds
build: ./ build: ./
networks: networks:
@@ -7,7 +8,7 @@ services:
volumes: volumes:
- ./games:/srv/http/games - ./games:/srv/http/games
ports: ports:
- "6080:80" - "6090:80"
labels: labels:
- "traefik.http.routers.gds.rule=Host(`gds.mitchelbv.nl`)" - "traefik.http.routers.gds.rule=Host(`gds.mitchelbv.nl`)"
- "traefik.http.routers.gds.entrypoints=web-secure" - "traefik.http.routers.gds.entrypoints=web-secure"