SNIR-MC/docker-compose.yml

17 lines
349 B
YAML

version: '3.7'
services:
mc_srv:
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile
ports:
- 25565:25565
- 8123:8123
volumes:
- ${PWD}:/mc-server
working_dir: "/mc-server"
entrypoint: ["sh", "/mc-server/scripts/init.sh"]