MCServerDocker/docker-compose.yml

21 lines
286 B
YAML

version: "3.8"
services:
mcsd:
build: .
container_name: mcsd
restart: unless-stopped
stop_grace_period: 120s
volumes:
- ./server:/data
env_file:
- ./config.env
ports:
- 25565:25565
networks:
- mcsdnet
networks:
mcsdnet:
name: mcsdnet
external: false