Skip to content

Commit

Permalink
docs: add example of Paper running with PROXY protocol enabled (#2629)
Browse files Browse the repository at this point in the history
  • Loading branch information
itzg authored Feb 4, 2024
1 parent 6ae59e6 commit 8222a79
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/paper-proxy-protocol/config/paper-global.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
proxies:
proxy-protocol: true
15 changes: 15 additions & 0 deletions examples/paper-proxy-protocol/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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: {}

0 comments on commit 8222a79

Please sign in to comment.