mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-07 03:07:24 +01:00
add a section to the readme which lists the existing environment variables (#406)
This commit is contained in:
parent
bc9276737b
commit
0160889854
17
README.md
17
README.md
@ -250,6 +250,23 @@ The `server-settings.json` file may then contain the variable references like th
|
|||||||
"description": "${INSTANCE_DESC}",
|
"description": "${INSTANCE_DESC}",
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Environment Variables
|
||||||
|
|
||||||
|
These are the environment variables which can be specified at container run time.
|
||||||
|
|
||||||
|
| Variable Name | Description | Default | Available in |
|
||||||
|
| - | - | - | - |
|
||||||
|
| GENERATE_NEW_SAVE | Generate a new save if one does not exist before starting the server | false | 0.17+ |
|
||||||
|
| LOAD_LATEST_SAVE | Load latest when true. Otherwise load SAVE_NAME | true | 0.17+ |
|
||||||
|
| PORT | UDP port the server listens on | 34197 | 0.15+ |
|
||||||
|
| RCON_PORT | TCP port the rcon server listens on | 27015 | 0.15+ |
|
||||||
|
| SAVE_NAME | Name to use for the save file | _autosave1 | 0.17+ |
|
||||||
|
| TOKEN | factorio.com token | | 0.17+ |
|
||||||
|
| UPDATE_MODS_ON_START | If mods should be updated before starting the server | | 0.17+ |
|
||||||
|
| USERNAME | factorio.com username | | 0.17+ | |
|
||||||
|
|
||||||
|
**Note:** All environment variables are compared as strings
|
||||||
|
|
||||||
## Container Details
|
## Container Details
|
||||||
|
|
||||||
The philosophy is to [keep it simple](http://wiki.c2.com/?KeepItSimple).
|
The philosophy is to [keep it simple](http://wiki.c2.com/?KeepItSimple).
|
||||||
|
Loading…
Reference in New Issue
Block a user