Knowledge Base

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

mapserver-docker-compose.yml (Source)

# startdate: 2025-03-07-6 10:20
# author: bgstack15
# Purpose: Run the map server separately from the game world
# 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:
  mapserver:
    image: ghcr.io/minetest-mapserver/mapserver
    restart: always
    networks:
      - luanti
    volumes:
      - /home/luanti/.minetest/worlds/world1:/minetest
    working_dir: "/minetest"
    ports:
      - 8086:8080/tcp
networks:
  luanti:
    name: luanti1
...