Add environment variables to docker-compose.yml
This commit is contained in:
parent
2960d76ead
commit
80c50f557d
1 changed files with 6 additions and 0 deletions
|
@ -8,5 +8,11 @@ services:
|
|||
stop_grace_period: 10s
|
||||
volumes:
|
||||
- ./server:/data
|
||||
environment:
|
||||
- MCSD_ENFORCE_FRESH_CACHES=false # cleans all caches on startup, useful if you experience issues
|
||||
- MCSD_FORCE_UPGRADE=true # updates all chunks to the latest version, if possible. will slow down startup time on upgrade but will significantly increase server performance during runtime
|
||||
- MCSD_SAFEMODE=false # disables all datapacks
|
||||
- MCSD_AUTO_RESTART=true # restarts the server automatically if it exists
|
||||
- MCSD_JAVA_VERSION=17 # available arw: 17, 11 and 8
|
||||
ports:
|
||||
- 25565:25565
|
||||
|
|
Loading…
Reference in a new issue