Replies: 3 comments 1 reply
-
Make CLI overwrite ENVVAR. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm Not Sure If this ist helpfull. The Server should Run in a docker env, so starting the py Code directly will be for devs only |
Beta Was this translation helpful? Give feedback.
1 reply
-
I suggest using https://pypi.org/project/python-decouple/ it's perfect for several settings. env vars but also config files like .env or similar. it gives the flexibility that you usually need. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
in #141 I suggest a change from config.py to a json config.
In the PR I have two possible solutions to define a user directory:
The problem I see in this is that if someone uses both variants, sooner or later there might be an issue, when changing the directory in one of these methods.
I would like to reduce the options to either CLI args or ENVVAR.
What are your opinions on this?
7 votes ·
Beta Was this translation helpful? Give feedback.
All reactions