Tag : database

Im using the Google Cloud Run service to host my Spring application in a docker container. The database is running in the Google SQL service. My problem is that the requests from the application to the database can take up to 2 minutes. See the Google Cloud Run log (the long requests are painted yellow). ..

Read more

I have a cluster which has 2 instances.Both instance has Postgres container and its volume link to Elastic file system accesspoint as the Volume. I map the volume of both instance to /var/lib/postgresql/data, but container didn’t share its data. Here is my configuration docker-compose.yml version: "3.0" services: front: image: 540744822643.dkr.ecr.ap-southeast-1.amazonaws.com/front:latest links: – app:app.plasgate.com networks: – ..

Read more

I am trying to set up a MongoDB Docker container to use as a local database for testing, but I am facing issues. For running the container, I used following command: docker run -d –name mongodb -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME="root" -e MONGO_INITDB_ROOT_PASSWORD="password" -v C:projectsdockervolumesmongotmp:/data/db mongo:4.4.4 I used -e to pass the root username and password ..

Read more