mirror of
https://github.com/yusing/godoxy.git
synced 2025-07-21 20:04:03 +02:00
updated docker compose example
This commit is contained in:
parent
e005b42d18
commit
a531896bd6
1 changed files with 11 additions and 4 deletions
|
@ -7,10 +7,17 @@ services:
|
||||||
env_file: .env
|
env_file: .env
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
# if you also want to proxy the WebUI and access it via gp.y.z
|
# modify below to fit your needs
|
||||||
# labels:
|
labels:
|
||||||
# - proxy.aliases=gp
|
proxy.aliases: gp
|
||||||
# - proxy.gp.port=3000
|
proxy.#1.port: 3000
|
||||||
|
proxy.#1.middlewares.cidr_whitelist.status_code: 403
|
||||||
|
proxy.#1.middlewares.cidr_whitelist.message: IP not allowed
|
||||||
|
proxy.#1.middlewares.cidr_whitelist.allow: |
|
||||||
|
- 127.0.0.1
|
||||||
|
- 10.0.0.0/8
|
||||||
|
- 192.168.0.0/16
|
||||||
|
- 172.16.0.0/12
|
||||||
app:
|
app:
|
||||||
image: ghcr.io/yusing/go-proxy:latest
|
image: ghcr.io/yusing/go-proxy:latest
|
||||||
container_name: go-proxy
|
container_name: go-proxy
|
||||||
|
|
Loading…
Add table
Reference in a new issue