projet-modelisation-geometr.../docker-compose.yml
2022-05-13 15:46:17 +02:00

20 lines
418 B
YAML

version: "3.9"
services:
minecraft:
image: "marctv/minecraft-papermc-server"
hostname: mcserver
container_name: "mcserver"
environment:
MEMORYSIZE: "1G"
PUID: 1000
PGID: 1000
volumes:
- "./minecraft-server-volume:/data:rw"
ports:
- "25565:25565"
restart: always
# The following allow `docker attach minecraft` to work
stdin_open: true
tty: true