mirror of
				https://github.com/factoriotools/factorio-docker.git
				synced 2025-10-31 00:48:07 +01:00 
			
		
		
		
	add a section to the readme which lists the existing environment variables (#406)
This commit is contained in:
		
							
								
								
									
										19
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								README.md
									
									
									
									
									
								
							| @@ -1,6 +1,6 @@ | ||||
| # Factorio [](https://travis-ci.org/factoriotools/factorio-docker)  [](https://hub.docker.com/r/factoriotools/factorio/) [](https://hub.docker.com/r/factoriotools/factorio/) [](https://hub.docker.com/r/factoriotools/factorio/) | ||||
|  | ||||
| [中文](./README_zh_CN.md)  | ||||
| [中文](./README_zh_CN.md) | ||||
|  | ||||
| * `1.1.39`, `1.1`, `latest`, `stable` [(1.1/Dockerfile)](https://github.com/factoriotools/factorio-docker/blob/master/1.1/Dockerfile) | ||||
| * `1.0.0`, `1.0` [(1.0/Dockerfile)](https://github.com/factoriotools/factorio-docker/blob/master/1.0/Dockerfile) | ||||
| @@ -250,6 +250,23 @@ The `server-settings.json` file may then contain the variable references like th | ||||
| "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 | ||||
|  | ||||
| The philosophy is to [keep it simple](http://wiki.c2.com/?KeepItSimple). | ||||
|   | ||||
		Reference in New Issue
	
	Block a user