.
This commit is contained in:
parent
c9f6b8a5c9
commit
e5b4dba728
@ -84,20 +84,23 @@ RUN \\
|
|||||||
"[ ! -f \"\${CONFIG}/map-settings.json\" ] && cp /opt/factorio/data/map-settings.example.json \${CONFIG}/map-settings.json" \\
|
"[ ! -f \"\${CONFIG}/map-settings.json\" ] && cp /opt/factorio/data/map-settings.example.json \${CONFIG}/map-settings.json" \\
|
||||||
"find -L \${SAVES} -iname \\*.tmp.zip -mindepth 1 -print | grep -q .; then rm -f \${SAVES}/*.tmp.zip" \\
|
"find -L \${SAVES} -iname \\*.tmp.zip -mindepth 1 -print | grep -q .; then rm -f \${SAVES}/*.tmp.zip" \\
|
||||||
"if ! find -L \${SAVES} -iname \\*.tmp.zip -mindepth 1 -print | grep -q .; then" \\
|
"if ! find -L \${SAVES} -iname \\*.tmp.zip -mindepth 1 -print | grep -q .; then" \\
|
||||||
" /opt/factorio/bin/x64/factorio \\" \\
|
" /opt/factorio/bin/x64/factorio \\\" \\
|
||||||
" --create \${SAVES}/_autosave1.zip \\" \\
|
" --create \${SAVES}/_autosave1.zip \\\" \\
|
||||||
" --map-gen-settings \${CONFIG}/map-gen-settings.json \\" \\
|
" --map-gen-settings \${CONFIG}/map-gen-settings.json \\\" \\
|
||||||
" --map-settings \${CONFIG}/map-settings.json" \\
|
" --map-settings \${CONFIG}/map-settings.json" \\
|
||||||
"fi" \\
|
"fi" \\
|
||||||
"/opt/factorio/bin/x64/factorio \\" \\
|
"/opt/factorio/bin/x64/factorio \\" \\
|
||||||
" --port \${PORT} \\" \\
|
" --port \${PORT} \\\" \\
|
||||||
" --start-server-load-latest \\" \\
|
" --start-server-load-latest \\\" \\
|
||||||
" --server-settings \${CONFIG}/server-settings.json \\" \\
|
" --server-settings \${CONFIG}/server-settings.json \\\" \\
|
||||||
" --server-banlist \${CONFIG}/server-banlist.json \\" \\
|
" --server-banlist \${CONFIG}/server-banlist.json \\\" \\
|
||||||
" --rcon-port \${RCON_PORT} \\" \\
|
" --rcon-port \${RCON_PORT} \\\" \\
|
||||||
" --server-whitelist \${CONFIG}/server-whitelist.json \\" \\
|
" --server-whitelist \${CONFIG}/server-whitelist.json \\\" \\
|
||||||
" --use-server-whitelist \\" \\
|
" --use-server-whitelist \\\" \\
|
||||||
" --server-adminlist \${CONFIG}/server-adminlist.json \\"
|
" --server-adminlist \${CONFIG}/server-adminlist.json \\\"
|
||||||
|
" --rcon-password \"\$(cat \${CONFIG}/rconpw)\" \\\" \\
|
||||||
|
" --server-id /factorio/config/server-id.json \\\" \\
|
||||||
|
" $@"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
podTemplate(
|
podTemplate(
|
||||||
|
Reference in New Issue
Block a user