Page MenuHomePhabricator

If a LocalSettings.php file is specified then most ENV vars are not actually needed
Closed, DeclinedPublic

Description

If a user chooses to pass a LocalSettings file directly into the container then the image doesn't actually require most of the ENV vars however it still currently complains about not having them and will not let you run your container.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I think it would be good to have most of the LocalSettings.php provided with meaningful conventions and offer a way to append lines for name spaces etc...

You can always add to the one generated from the template. This one is
hidden if you put a docker volume over it just like mounting over a file in
unix.

There's a few ways you can do it once the container is up or alternatively
you can mess about with the entrypointing to first run a script like echo
"wfLoadExtension('foo');" >> LocalSettings.php so that it happens
consistently

Vvjjkkii renamed this task from If a LocalSettings.php file is specified then most ENV vars are not actually needed to 5ybaaaaaaa.Jul 1 2018, 1:06 AM
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from 5ybaaaaaaa to If a LocalSettings.php file is specified then most ENV vars are not actually needed.Jul 2 2018, 4:06 AM
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.