projet-modelisation-geometr.../docker-compose.yml

20 lines
418 B
YAML
Raw Normal View History

2022-05-13 07:17:55 +00:00
version: "3.9"
services:
minecraft:
image: "marctv/minecraft-papermc-server"
2022-05-13 13:20:42 +00:00
hostname: mcserver
2022-05-13 07:17:55 +00:00
container_name: "mcserver"
environment:
MEMORYSIZE: "1G"
2022-05-13 13:20:42 +00:00
PUID: 1000
PGID: 1000
2022-05-13 07:17:55 +00:00
volumes:
- "./minecraft-server-volume:/data:rw"
ports:
- "25565:25565"
2022-05-13 13:46:17 +00:00
restart: always
2022-05-13 07:17:55 +00:00
# The following allow `docker attach minecraft` to work
stdin_open: true
tty: true