Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

game-docker-compose.yml (Source)

# startdate: 2025-02-27 16:46
# author: bgstack15
# this app in the container uses ~/.minetest/main-config/minetest.conf
# Reference:
#    https://github.com/linuxserver/docker-luanti
#    https://github.com/minetest-mapserver/mapserver/blob/master/docker-compose.yml
#    https://github.com/minetest-mapserver/mapserver/blob/master/doc/install.md more useful
---
version: "3.5"
services:
  luanti:
    image: lscr.io/linuxserver/luanti:latest
    container_name: luanti
    networks:
      - luanti
    environment:
      - PUID=1009
      - PGID=1009
      - TZ=Etc/UTC
      - "CLI_ARGS=--gameid mineclonia --worldname world1"
    volumes:
      - /home/luanti/.minetest:/config/.minetest
    ports:
      - 30000:30000/udp
    restart: unless-stopped
networks:
  luanti:
    name: luanti1
...