CenterForDigitalHumanities / TPEN-services

Services required by TPEN interfaces in order to interact with data
1 stars 0 forks source link

Connect to mongo on img server #76

Closed thehabes closed 4 months ago

thehabes commented 5 months ago

We are currently using Atlas because to use the mongo on img01 has cost too much development time and is bloating the scope of the initial POC deployment for feedback.

Set the mongo connection string for the img server on dev and prod and use npm run dbTests to test the connection to the mongo. At this time, we are getting the following error

MongoNetworkError: connect ECONNREFUSED 10.108.32.12:27017

Note that the .env files on the devs' localhost, the development server, and the production server will need to be updated with the new connection string once we have confirmed it is working.

Note that this repository's secrete env variables will need to be updated with the the new connection settings once we have confirmed it is working.

Note that the CI/CD pipeline will need to be checked once we change these settings to make sure GH Action tests can connect to the mongodb and complete successfully.