Moved all config to .env file; updated README
This commit is contained in:
parent
3e0e544ec7
commit
0ae84c0019
10 changed files with 79 additions and 19 deletions
|
|
@ -1,2 +1,13 @@
|
|||
# Build arguments
|
||||
RELEASE_TAG=
|
||||
|
||||
# Environment variables
|
||||
AUTOCREATE=2
|
||||
|
||||
# Mountpoints
|
||||
CONFIG_DIR=
|
||||
LOGS_DIR=
|
||||
WORLDS_DIR=
|
||||
|
||||
# Other
|
||||
PORT=7777
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ services:
|
|||
environment:
|
||||
- AUTOCREATE
|
||||
ports:
|
||||
- '7777:7777'
|
||||
- '$PORT:7777'
|
||||
volumes:
|
||||
- '/data/tshock/config:/terraria/config'
|
||||
- '/data/tshock/logs:/terraria/logs'
|
||||
- '/data/tshock/worlds:/terraria/worlds'
|
||||
- '$CONFIG_DIR:/terraria/config'
|
||||
- '$LOGS_DIR:/terraria/logs'
|
||||
- '$WORLDS_DIR:/terraria/worlds'
|
||||
|
|
|
|||
Reference in a new issue