mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
docs: add example of Paper running with PROXY protocol enabled (#2629)
This commit is contained in:
parent
6ae59e61fa
commit
8222a79bf4
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 New Issue
Block a user