mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 12:42:34 +02:00
Update docker.md
This commit is contained in:
parent
521b694aec
commit
4a7d898b8e
1 changed files with 10 additions and 7 deletions
|
@ -95,7 +95,7 @@
|
||||||
| `proxy.stop_timeout` | time to wait for stop command | `10s` | `number[unit]...` |
|
| `proxy.stop_timeout` | time to wait for stop command | `10s` | `number[unit]...` |
|
||||||
| `proxy.stop_signal` | signal sent to container for `stop` and `kill` methods | docker's default | `SIGINT`, `SIGTERM`, `SIGHUP`, `SIGQUIT` and those without **SIG** prefix |
|
| `proxy.stop_signal` | signal sent to container for `stop` and `kill` methods | docker's default | `SIGINT`, `SIGTERM`, `SIGHUP`, `SIGQUIT` and those without **SIG** prefix |
|
||||||
| `proxy.<alias>.<field>` | set field for specific alias | N/A | N/A |
|
| `proxy.<alias>.<field>` | set field for specific alias | N/A | N/A |
|
||||||
| `proxy.$<index>.<field>` | set field for specific alias at index (started from **1**) | N/A | N/A |
|
| `proxy.$<index>.<field>` | set field for specific alias at index (starting from **1**) | N/A | N/A |
|
||||||
| `proxy.*.<field>` | set field for all aliases | N/A | N/A |
|
| `proxy.*.<field>` | set field for all aliases | N/A | N/A |
|
||||||
|
|
||||||
### Fields
|
### Fields
|
||||||
|
@ -190,6 +190,7 @@ service_a:
|
||||||
nginx-2: # Option 2
|
nginx-2: # Option 2
|
||||||
...
|
...
|
||||||
container_name: nginx-2
|
container_name: nginx-2
|
||||||
|
network_mode: host
|
||||||
labels:
|
labels:
|
||||||
proxy.nginx-2.port: 80
|
proxy.nginx-2.port: 80
|
||||||
```
|
```
|
||||||
|
@ -237,7 +238,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 80
|
- 80
|
||||||
- 3000
|
- 3000
|
||||||
- 53
|
- 53/udp
|
||||||
mc:
|
mc:
|
||||||
image: itzg/minecraft-server
|
image: itzg/minecraft-server
|
||||||
tty: true
|
tty: true
|
||||||
|
@ -285,7 +286,7 @@ services:
|
||||||
network_mode: host
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/app/config
|
- ./config:/app/config
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
go-proxy-frontend:
|
go-proxy-frontend:
|
||||||
image: ghcr.io/yusing/go-proxy-frontend:latest
|
image: ghcr.io/yusing/go-proxy-frontend:latest
|
||||||
container_name: go-proxy-frontend
|
container_name: go-proxy-frontend
|
||||||
|
@ -293,7 +294,9 @@ services:
|
||||||
network_mode: host
|
network_mode: host
|
||||||
labels:
|
labels:
|
||||||
- proxy.aliases=gp
|
- proxy.aliases=gp
|
||||||
- proxy.gp.port=8888
|
- proxy.gp.port=8080
|
||||||
|
ports:
|
||||||
|
- 8080
|
||||||
depends_on:
|
depends_on:
|
||||||
- go-proxy
|
- go-proxy
|
||||||
```
|
```
|
||||||
|
@ -306,8 +309,8 @@ services:
|
||||||
- `adg-setup.yourdomain.com`: adguard setup (first time setup)
|
- `adg-setup.yourdomain.com`: adguard setup (first time setup)
|
||||||
- `adg.yourdomain.com`: adguard dashboard
|
- `adg.yourdomain.com`: adguard dashboard
|
||||||
- `nginx.yourdomain.com`: nginx
|
- `nginx.yourdomain.com`: nginx
|
||||||
- `yourdomain.com:53`: adguard dns
|
- `yourdomain.com:2000`: adguard dns (udp)
|
||||||
- `yourdomain.com:25565`: minecraft server
|
- `yourdomain.com:20001`: minecraft server
|
||||||
- `yourdomain.com:8211`: palworld server
|
- `yourdomain.com:20002`: palworld server
|
||||||
|
|
||||||
[🔼Back to top](#table-of-content)
|
[🔼Back to top](#table-of-content)
|
||||||
|
|
Loading…
Add table
Reference in a new issue