nerm.al/server/docker-compose.yaml

63 lines
1.5 KiB
YAML
Raw Permalink Normal View History

2024-10-14 11:02:50 -04:00
services:
proxy:
container_name: mc-velocity
image: itzg/mc-proxy
environment:
TYPE: VELOCITY
DEBUG: "false"
ENABLE_RCON: "true"
UID: 950
GID: 950
ports:
- "25565:25577"
volumes:
2024-10-14 12:04:16 -04:00
- /docker/config/velocity.toml:/config/velocity.toml:ro
- /docker/config/forwarding.secret:/config/forwarding.secret:ro
2024-10-14 11:02:50 -04:00
- /data/mc/server:/server
lobby:
container_name: mc-lobby
image: itzg/minecraft-server
environment:
EULA: "TRUE"
ONLINE_MODE: "FALSE"
TYPE: PAPER
SYNC_SKIP_NEWER_IN_DESTINATION: false
UID: 950
GID: 950
JVM_OPTS: -Dpaper.disableChannelLimit=true
volumes:
- /data/mc/config/paper-global.yml:/config/paper-global.yml
- /data/mc/lobby/:/data
ports:
- "25566:25565"
vanilla:
container_name: mc-vanilla
image: itzg/minecraft-server
environment:
EULA: "TRUE"
ONLINE_MODE: "FALSE"
TYPE: PAPER
SYNC_SKIP_NEWER_IN_DESTINATION: false
UID: 950
GID: 950
volumes:
2024-10-14 12:04:16 -04:00
- /docker/config/paper-global.yml:/config/paper-global.yml
2024-10-14 11:02:50 -04:00
- /data/mc/vanilla:/data
ports:
- "25567:25565"
rpg:
container_name: mc-rpg
image: itzg/minecraft-server:java17
environment:
EULA: "true"
UID: 950
GID: 950
MEMORY: "24G"
TYPE: "FORGE"
VERSION: "1.18.2"
FORGE_VERSION: "40.2.17"
ports:
- "25568:25565"
volumes:
- /data/mc/rpg:/data