luanti-server-programmable/docker-compose.yaml
2024-12-01 22:59:59 +03:00

22 lines
494 B
YAML

services:
minetest-server:
image: lscr.io/linuxserver/minetest:latest
container_name: minetest-server
deploy:
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
update_config:
parallelism: 2
environment:
PUID: '1000'
TZ: Europe/Moscow
PGID: '1000'
CLI_ARGS: '--gameid minetest --port 30000'
ports:
- 30000:30000/udp
volumes:
- ${DATA}:/config/.minetest/