Skip to content

How to use config.toml in docker compose? #277

Closed Answered by joseluisq
carmolim asked this question in Q&A
Discussion options

You must be logged in to vote

You just have to tell SWS where to find the config file via SERVER_CONFIG_FILE env.

The reason is that the config file is optional but there is no a default path for it. Additionally SWS does not check for the config file path at start up (only when it is set).
That's why when you want to use a config file then you have to tell SWS about it explicitly.

We will probably improve this in the future to act like for example the root dir (./public).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@carmolim
Comment options

@joseluisq
Comment options

Answer selected by carmolim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested v2 v2 release
2 participants