Closed EKivutha closed 2 years ago
Which command do you run to get the output in your screenshot?
Sudo docker run -it port 8080 --name imagetagger imagetagger
Where should I make the env variable changes? @timonegk @jgueldenstein @wichmannpas @NFiedler
For all the configuration values, you have to pass them as environment variables, for docker that is with the -e
flag. So you will have your docker run command with -e IT_EMAIL_HOST=... -e IT_DB_HOST=...
and so on.
Do you have a sample terminal code I can run @timonegk
For all the configuration values, you have to pass them as environment variables, for docker that is with the
-e
flag. So you will have your docker run command with-e IT_EMAIL_HOST=... -e IT_DB_HOST=...
and so on.
I have tried this but I get a invalid reference format error @timonegk
@timonegk do you have any other deployment materials or documentation?
issue was not resolved
When working with open source / community projects, please keep in mind that everybody is doing it on their free time. That also means that you have to wait sometimes to get an answer. Pointlessly asking and re-asking and passive-aggressively closing an issue is not a nice way of getting other people's attention.
I sent you a short example of how to add environment variables to your docker container. What exactly did you run to get the "invalid reference format" error? Of course, you cannot let the values at ...
but have to add an actually useful value.
Maybe check out the corresponding section of the README: https://github.com/bit-bots/imagetagger/#minimal-production-configuration. There are the five environment variables that have to be defined for the imagetagger to run. For it to work, you have to have installed and started a postgresql server. If you haven't done that yet, there are countless tutorials online.
What I'm trying to do
build a docker image to host on heroku
What I've tried
changing the prefix for the required env variable to start with the IT_ prefix
Additional context
I'm getting errors for each variable in the base class
If I add the prefix IT_ to the env variables stated in readme, the error message
variable IT_ALLOWED_HOST is required to be set to IT_IT_ALLOWED_HOST
Where does the issue occur?
If it is a self hosted instance, please provide further information