Page 1 of 1

Docker factoriotools/factorio on windows

Posted: Mon Dec 23, 2024 2:08 pm
by m17si
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.

Re: Docker factoriotools/factorio on windows

Posted: Sat Dec 28, 2024 6:58 pm
by Mighty_Pig
There is an environment variable called

Code: Select all

DLC_SPACE_AGE
Which of set to

Code: Select all

False
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:

Code: Select all

services:
  webapp:
    environment:
      DEBUG: "true"
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

docker run -e DLC_SPACE_AGE=FALSE