luanti-server-programmable/docker-compose.yaml

24 lines
517 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:
2024-12-02 01:05:34 +03:00
build: ./
2024-12-01 22:59:59 +03:00
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-07 23:22:07 +03:00
GAME_NAME: ${GAME_NAME}
2024-12-01 22:59:59 +03:00
PUID: '1000'
TZ: Europe/Moscow
PGID: '1000'
2024-12-07 23:22:07 +03:00
#CLI_ARGS: '--gameid minetest_game --port 30000'
2024-12-01 22:38:38 +03:00
ports:
2024-12-07 00:46:42 +03:00
- 29999:29999
2024-12-01 22:59:59 +03:00
- 30000:30000/udp
volumes:
- ${DATA}:/config/.minetest/