Moved all config to .env file; updated README

This commit is contained in:
Jef Roosens 2020-12-30 15:57:45 +01:00
parent 3e0e544ec7
commit 0ae84c0019
10 changed files with 79 additions and 19 deletions

View file

@ -1,3 +1,14 @@
# Build arguments
FABRIC_VERSION=
# Environment variables
XMS=4
XMX=4
# Mountpoints
CONFIG_DIR=
MODS_DIR=
WORLDS_DIR=
# Other
PORT=25565

View file

@ -15,8 +15,8 @@ services:
- XMS
- XMX
ports:
- '25565:25565'
- '$PORT:25565'
volumes:
- '/data/mc/fabric/config:/mc/config'
- '/data/mc/fabric/mods:/mc/config/mods'
- '/data/mc/fabric/worlds:/mc/worlds'
- '$CONFIG_DIR:/mc/config'
- '$MODS_DIR:/mc/config/mods'
- '$WORLDS_DIR:/mc/worlds'