I tried to make a headless server on Windows based on the official image factoriotools/factorio. Almost everything works, except that I can't disable SPACE-AGE and Other mods and APDATE-MODS_ON_STARN.
The instructions for the image say a little about this problem, but I still don't understand how to replace the environment variables, yaml is also used there.
Can you tell me in detail how to solve this? I use Windows 10.
There are obviously no such parameters in the settings-server file.
Manual editing does not help)) when restarting, everything returns to its original values.
Docker factoriotools/factorio on windows
-
- Burner Inserter
- Posts: 18
- Joined: Fri Feb 23, 2024 9:45 am
- Contact:
Re: Docker factoriotools/factorio on windows
There is an environment variable called
Which of set to disabled the space age mods. https://github.com/factoriotools/factor ... -variables
In order to add this environmental variable you can add the following to your docker file:
As mentioned here https://docs.docker.com/compose/how-tos ... variables/
In case you don't use a compose file (which you should be using) add to following to the command you are using:
Code: Select all
DLC_SPACE_AGE
Code: Select all
False
In order to add this environmental variable you can add the following to your docker file:
Code: Select all
services:
webapp:
environment:
DEBUG: "true"
In case you don't use a compose file (which you should be using) add to following to the command you are using:
Code: Select all
docker run -e DLC_SPACE_AGE=FALSE