add neko proxy env variable #107.

This commit is contained in:
Miroslav Šedivý
2023-11-19 14:53:24 +01:00
parent 4fdf1b9cd8
commit cdd0e4fad2
6 changed files with 23 additions and 5 deletions
+4 -1
View File
@@ -18,7 +18,10 @@ services:
- "--providers.docker.network=neko-rooms-traefik"
- "--entrypoints.web.address=:8080"
ports:
- "8080:8080"
- target: 8080
published: 8080
protocol: "tcp"
mode: "host"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
# OPTIONAL: Enable authentication.
+9 -3
View File
@@ -7,7 +7,7 @@ version: "3.5"
networks:
default:
attachable: "true"
attachable: true
name: "${NEKO_ROOMS_TRAEFIK_NETWORK}"
services:
@@ -17,8 +17,14 @@ services:
environment:
- "TZ"
ports:
- "80:80"
- "443:443"
- target: 80
published: 80
protocol: "tcp"
mode: "host"
- target: 443
published: 443
protocol: "tcp"
mode: "host"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "./traefik.yml:/etc/traefik/traefik.yml:ro"
+1 -1
View File
@@ -2,7 +2,7 @@ version: "3.5"
networks:
default:
attachable: "true"
attachable: true
name: "neko-rooms-traefik"
services:
+5
View File
@@ -3,6 +3,11 @@ entryPoints:
address: ":80"
websecure:
address: ":443"
forwardedHeaders:
trustedIPs:
- "10.0.0.0/8"
- "172.16.0.0/12"
- "192.168.0.0/16"
providers:
file: