mirror of
				https://github.com/factoriotools/factorio-docker.git
				synced 2025-10-31 17:08:08 +01:00 
			
		
		
		
	Added catch all to allow custom options for factorio (#169)
This commit is contained in:
		| @@ -1,5 +1,4 @@ | ||||
| #!/bin/sh -x | ||||
|  | ||||
| set -e | ||||
|  | ||||
| id | ||||
| @@ -45,4 +44,5 @@ exec /opt/factorio/bin/x64/factorio \ | ||||
|   --server-banlist $CONFIG/server-banlist.json \ | ||||
|   --rcon-port $RCON_PORT \ | ||||
|   --rcon-password "$(cat $CONFIG/rconpw)" \ | ||||
|   --server-id /factorio/config/server-id.json | ||||
|   --server-id /factorio/config/server-id.json \ | ||||
|   $@ | ||||
|   | ||||
| @@ -39,7 +39,7 @@ sudo docker run -d \ | ||||
|   -p 27015:27015/tcp \ | ||||
|   -v /opt/factorio:/factorio \ | ||||
|   --name factorio \ | ||||
|   --restart=always  \ | ||||
|   --restart=always \ | ||||
|   dtandersen/factorio | ||||
| ``` | ||||
|  | ||||
| @@ -131,7 +131,7 @@ docker run -d \ | ||||
|  | ||||
| ## Converting Scenarios to Regular Maps | ||||
|  | ||||
| If you would like to export your scenario to a saved map, you can use the example entrypoint similar to the Scenario usag above. Factorio will run once, converting the Scenario to a saved Map in your saves directory. A restart of the docker image using the standard options will then load that map, just as if the scenario were just started by the Scenarios example noted above.  | ||||
| If you would like to export your scenario to a saved map, you can use the example entrypoint similar to the Scenario usag above. Factorio will run once, converting the Scenario to a saved Map in your saves directory. A restart of the docker image using the standard options will then load that map, just as if the scenario were just started by the Scenarios example noted above. | ||||
|  | ||||
| ``` | ||||
| docker run -d \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user