Category : postgresql

I am running docker-compose in Github-Action. docker-compose.yml has following service definition for postgres postgres: container_name: postgres image: postgres:12 restart: always volumes: – ./test/data/init.sql:/docker-entrypoint-initdb.d/init.sql environment: POSTGRES_DB: "pgdb" POSTGRES_USER: "pguser" POSTGRES_PASSWORD: "fr2Yitl4BgX" ports: – "${POSTGRES_PORT:-5432}:5432" healthcheck: test: [ "CMD-SHELL", "pg_isready" ] interval: 10s timeout: 5s retries: 5 networks: – "local-api" But when container start on serf-hosted Github-Action ..

Read more

Im trying to run pgadmin and postgres on docker. both services seems to work. However to able to connect to postgres through pgadmin. return password incorrect even after typing the password you see in the docker-compose file. docker-compose services: postgres: container_name: postgres image: postgres environment: POSTGRES_USER: danny329 POSTGRES_PASSWORD: danny329 PGDATA: /data/postgres volumes: – postgres:/data/postgres ports: ..

Read more

I’m trying to run pgadmin and postgres on docker. both services seems to work. However to able to connect to postgres through pgadmin. return password incorrect even after typing the password you see in the docker-compose file. docker-compose services: postgres: container_name: postgres image: postgres environment: POSTGRES_USER: danny329 POSTGRES_PASSWORD: danny329 PGDATA: /data/postgres volumes: – postgres:/data/postgres ports: ..

Read more

I’ve been fiddling with my Dockerfile and Docker Compose to try and get PyCharm to be able to run and debug my django application. I’ve identified that I need all services to be on the same network, and have put them on the same network, but when I go to execute the runserver command through ..

Read more

After reading these docs, it seems like setting the POSTGRES_DB environment variable before running a postgres:11 container should create a new database with the value of $POSTGRES_DB. I’m pulling the image from Docker Hub & running the container via $ docker run -e POSTGRES_DB=new_db -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 postgres:11 But this only seems ..

Read more

I followed the steps provided in https://www.health-samurai.io/fhirbase website, using the Fhirbase in Docker and Download Fhirbase both are working perfectly without any issue. Now, I want to put Fhirbase code (https://github.com/fhirbase/fhirbase?_ga=2.137200179.2086351274.1637554537-194486469.1637215452) into my private gitlab repo and I want run my gitlab fhirbase code In Docker using Dockerfile. I have created a Dockerfile as below ..

Read more