Haystack Annotation tool: Unclear on credentials in the docker-compose.yml file #5577
-
Hi, I am trying to install this tool locally, and unsure on how to get the following credentials to put into the yml file
For putting in my own DB credentials, I set up postgres locally and created a user role, password , and database name. Once putting in those details I got these errors:
What exactly are we supposed to put as a replacement for all these credentials as we're trying to run docker-compose up to get the whole annotation tool up and running? Is there something I'm missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @tarangMittal, the docker-compose file will take care of creating the database, so no need to set up postgres yourself. Before running Let me know if you have further questions. :) |
Beta Was this translation helpful? Give feedback.
Hey @tarangMittal, the docker-compose file will take care of creating the database, so no need to set up postgres yourself. Before running
docker-compose up
, you need to uncomment this line and the following ones (and choose appropriate values for the environment variables.) Also, it seems that you need to add the environment variableDOMAIN_WHITELIST
(for exampleDOMAIN_WHITELIST: "1"
). If you want to change the DB name, username and password, make sure to change them in all places of the docker-compose file, so here, here, and here.Let me know if you have further questions. :)