minecraft-server-anywhere/docker-compose.yml
2024-01-13 04:13:49 +01:00

43 lines
797 B
YAML

version: "3.8"
services:
proxy:
hostname: proxy
container_name: proxy
image: itzg/bungeecord
env_file:
- ./proxy/proxy.env
volumes:
- ./proxy:/server
ports:
- "25565:25565"
- "25565:25565/udp"
- "19132:19132"
- "19132:19132/udp"
healthcheck:
disable: true
login:
hostname: login
container_name: login
image: itzg/minecraft-server
env_file:
- ./login/login.env
volumes:
- ./login:/data
ports:
- "65535:65535"
restart: unless-stopped
survival:
hostname: survival
container_name: survival
image: itzg/minecraft-server
env_file:
- ./survival/survival.env
volumes:
- ./survival:/data
ports:
- "25551:25551"
restart: unless-stopped