changes
This commit is contained in:
parent
2e0059bb90
commit
6bac2b5b3e
@ -2,8 +2,9 @@ services:
|
|||||||
minecraft:
|
minecraft:
|
||||||
build: .
|
build: .
|
||||||
volumes:
|
volumes:
|
||||||
- data:/data
|
- ./data:/data
|
||||||
ports:
|
ports:
|
||||||
- "25565:25565"
|
- "25565:25565"
|
||||||
volumes:
|
#volumes:
|
||||||
data:
|
# data:
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@ if [ ! -f /app/.initialized ]; then
|
|||||||
ln -s /data/crash-reports .
|
ln -s /data/crash-reports .
|
||||||
ln -s /data/local .
|
ln -s /data/local .
|
||||||
ln -s /data/visualprospecting .
|
ln -s /data/visualprospecting .
|
||||||
|
ln -s /data/backups .
|
||||||
|
|
||||||
touch /app/.initialized
|
touch /app/.initialized
|
||||||
fi
|
fi
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
/app/prepare_environment.sh && java -Xms6G -Xmx6G -Dfml.readTimeout=180 @java9args.txt nogui
|
|
||||||
|
if /app/prepare_environment.sh; then
|
||||||
|
exec java -Xms6G -Xmx6G -Dfml.readTimeout=180 -Dfml.queryResult=confirm @java9args.txt nogui
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user