diff --git a/examples/paper-proxy-protocol/config/paper-global.yml b/examples/paper-proxy-protocol/config/paper-global.yml new file mode 100644 index 00000000..d8627d54 --- /dev/null +++ b/examples/paper-proxy-protocol/config/paper-global.yml @@ -0,0 +1,2 @@ +proxies: + proxy-protocol: true \ No newline at end of file diff --git a/examples/paper-proxy-protocol/docker-compose.yml b/examples/paper-proxy-protocol/docker-compose.yml new file mode 100644 index 00000000..8181f965 --- /dev/null +++ b/examples/paper-proxy-protocol/docker-compose.yml @@ -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: {} \ No newline at end of file