Fixed nginx conf path in Dockerfile, added traefik
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
FROM nginx:stable
|
FROM nginx:stable
|
||||||
RUN mkdir -p /srv/http/games
|
RUN mkdir -p /srv/http/games
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
COPY config/nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|||||||
@@ -1,8 +1,13 @@
|
|||||||
services:
|
services:
|
||||||
web:
|
gds:
|
||||||
image: nginx-gds
|
image: nginx-gds
|
||||||
build: ./
|
build: ./
|
||||||
volumes:
|
volumes:
|
||||||
- ./games:/srv/http/games
|
- ./games:/srv/http/games
|
||||||
ports:
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user