mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-10 06:14:14 +00:00
docs: add example of Paper running with PROXY protocol enabled (#2629)
This commit is contained in:
parent
6ae59e61fa
commit
8222a79bf4
2 changed files with 17 additions and 0 deletions
2
examples/paper-proxy-protocol/config/paper-global.yml
Normal file
2
examples/paper-proxy-protocol/config/paper-global.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
proxies:
|
||||
proxy-protocol: true
|
15
examples/paper-proxy-protocol/docker-compose.yml
Normal file
15
examples/paper-proxy-protocol/docker-compose.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
services:
|
||||
mc:
|
||||
image: itzg/minecraft-server
|
||||
environment:
|
||||
EULA: true
|
||||
TYPE: PAPER
|
||||
ports:
|
||||
# Use host port 25566 assuming mc-router or similar is bound to 25565
|
||||
- "25566:25565"
|
||||
volumes:
|
||||
- mc-data:/data
|
||||
- ./config:/config:ro
|
||||
|
||||
volumes:
|
||||
mc-data: {}
|
Loading…
Reference in a new issue