version: '3.7' services: mc_srv: restart: unless-stopped image: openjdk:16-alpine ports: - 25566:25565 volumes: - ${PWD}:/mc-server working_dir: "/mc-server" entrypoint: ["sh", "/mc-server/scripts/start.sh"]