luanti-server-programmable/docker-compose.yaml

22 lines
499 B
YAML
Raw Normal View History

2024-12-01 22:38:38 +03:00
services:
2024-12-01 22:59:59 +03:00
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
2024-12-01 22:38:38 +03:00
environment:
2024-12-01 22:59:59 +03:00
PUID: '1000'
TZ: Europe/Moscow
PGID: '1000'
2024-12-01 23:12:25 +03:00
CLI_ARGS: '--gameid minetest_game --port 30000'
2024-12-01 22:38:38 +03:00
ports:
2024-12-01 22:59:59 +03:00
- 30000:30000/udp
volumes:
- ${DATA}:/config/.minetest/