mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-03 07:01:35 -06:00
add neko proxy env variable #107.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -2,7 +2,7 @@ version: "3.5"
|
||||
|
||||
networks:
|
||||
default:
|
||||
attachable: "true"
|
||||
attachable: true
|
||||
name: "neko-rooms-traefik"
|
||||
|
||||
services:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user