minecraft-server/docker-compose.yml

14 lines
290 B
YAML
Raw Permalink Normal View History

2020-03-30 18:40:02 +02:00
version: '3'
services:
minecraft:
build: .
volumes:
- ./world:/server/world
2020-03-30 18:52:12 +02:00
- ./ops.txt:/server/ops.txt
- ./white-list.txt:/server/white-list.txt
- ./server.properties:/server/server.properties
2020-03-30 18:40:02 +02:00
ports:
- "0.0.0.0:25565:25565"
restart: always