mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-12-26 19:08:23 +01:00
Fix save file environment variables in README.md. (#309)
This commit is contained in:
parent
66c11b1a82
commit
1ab01d0277
@ -118,22 +118,22 @@ sudo docker run -d \
|
|||||||
-p 34197:34197/udp \
|
-p 34197:34197/udp \
|
||||||
-p 27015:27015/tcp \
|
-p 27015:27015/tcp \
|
||||||
-v /opt/factorio:/factorio \
|
-v /opt/factorio:/factorio \
|
||||||
-e ENABLE_SERVER_LOAD_LATEST=false \
|
-e LOAD_LATEST_SAVE=false \
|
||||||
-e SAVE_NAME=replaceme \
|
-e SAVE_NAME=replaceme \
|
||||||
--name factorio \
|
--name factorio \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
factoriotools/factorio
|
factoriotools/factorio
|
||||||
```
|
```
|
||||||
|
|
||||||
To generate a new map set `ENABLE_GENERATE_NEW_MAP_SAVE=true` and specify `SAVE_NAME`:
|
To generate a new map set `GENERATE_NEW_SAVE=true` and specify `SAVE_NAME`:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo docker run -d \
|
sudo docker run -d \
|
||||||
-p 34197:34197/udp \
|
-p 34197:34197/udp \
|
||||||
-p 27015:27015/tcp \
|
-p 27015:27015/tcp \
|
||||||
-v /opt/factorio:/factorio \
|
-v /opt/factorio:/factorio \
|
||||||
-e ENABLE_SERVER_LOAD_LATEST=false \
|
-e LOAD_LATEST_SAVE=false \
|
||||||
-e ENABLE_GENERATE_NEW_MAP_SAVE=true \
|
-e GENERATE_NEW_SAVE=true \
|
||||||
-e SAVE_NAME=replaceme \
|
-e SAVE_NAME=replaceme \
|
||||||
--name factorio \
|
--name factorio \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
|
Loading…
Reference in New Issue
Block a user