Update luanti-server/docker-compose.yml
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
# TODO set volume directories
|
||||||
|
# TODO change ALL_CAPS environment variables in all locations
|
||||||
|
# (this is just WORLD_NAME here - it CANNOT have special characters or spaces, and must not start with a number)
|
||||||
|
# Normally, I use external management to open up ports, but the definitions here are necessary.
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
LUANTI_SERVER:
|
LUANTI_SERVER:
|
||||||
driver: local
|
driver: local
|
||||||
@@ -17,8 +22,8 @@ services:
|
|||||||
# - default
|
# - default
|
||||||
environment:
|
environment:
|
||||||
- TZ=America/Denver
|
- TZ=America/Denver
|
||||||
# do not use --terminal or --server
|
# do not use --terminal or --server or --worldname
|
||||||
- "CLI_ARGS=--gameid minetest"
|
- "CLI_ARGS=--gameid minetest --world /config/.minetest/worlds/WORLD_NAME"
|
||||||
volumes:
|
volumes:
|
||||||
- LUANTI_SERVER:/config/.minetest
|
- LUANTI_SERVER:/config/.minetest
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user