mawilson / survivor_draft

MIT License
0 stars 0 forks source link

Docker compose "c" variable not set fix #157

Closed mawilson closed 5 months ago

mawilson commented 6 months ago

Somewhere my environment is trying & failing to set a 'c' environment variable during docker compose up:

WARN[0000] The "c" variable is not set. Defaulting to a blank string.

It's probably harmless but I'm also not sure why it's happening, should fix it.

mawilson commented 5 months ago

Figured this out thanks to https://stackoverflow.com/questions/74315381/docker-compose-environment-variable-is-not-set & https://stackoverflow.com/questions/64723235/docker-compose-environment-variables-blank-string/73575077#73575077, looks like the problem was double quotes vs. single quotes, & not properly treating a dollar sign in one of the environment variables as part of the variable.

Updated the example .env file & fixed in https://github.com/mawilson/survivor_draft/pull/176