docs: add example of Paper running with PROXY protocol enabled (#2629)

This commit is contained in:
Geoff Bourne 2024-02-03 19:38:44 -06:00 committed by GitHub
parent 6ae59e61fa
commit 8222a79bf4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,2 @@
proxies:
proxy-protocol: true

View 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: {}