mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-09-15 02:17:57 +00:00
docs: add example of Paper running with PROXY protocol enabled (#2629)
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
proxies:
|
||||||
|
proxy-protocol: true
|
||||||
@@ -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: {}
|
||||||
Reference in New Issue
Block a user