Docker factoriotools/factorio on windows

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
m17si
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Dec 22, 2024 9:38 pm
Contact:

Docker factoriotools/factorio on windows

Post 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.
Mighty_Pig
Burner Inserter
Burner Inserter
Posts: 18
Joined: Fri Feb 23, 2024 9:45 am
Contact:

Re: Docker factoriotools/factorio on windows

Post 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
Post Reply

Return to “Technical Help”