MCServerDocker/docker-compose.yml

22 lines
324 B
YAML

services:
mcsd:
build:
context: .
dockerfile: Dockerfile
container_name: mcsd
restart: unless-stopped
stop_grace_period: 120s
volumes:
- ./server:/data
- ./jvm:/jvm
env_file:
- ./config.env
ports:
- 25565:25565
networks:
- mcsdnet
networks:
mcsdnet:
name: mcsdnet
external: false