docker/docker-compose.yml
minecraft server d56e3a708f initial setup
2022-06-29 16:55:17 -04:00

25 lines
520 B
YAML

version: "3.9"
services:
minecraft:
container_name: "main_world"
build: papermc-build
environment:
MEMORYSIZE: "6G"
volumes:
- "./serverdata/main:/data:rw"
ports:
- "192.168.45.200:25566:25565"
# The following allow `docker attach minecraft` to work
stdin_open: true
tty: true
restart: unless-stopped
velocity:
build: ./velocity-build/
restart: unless-stopped
ports:
- 192.168.45.200:25565:25565
volumes:
- ./velocity-data/:/data/