skip to Main Content

Docker not running entrypoint .sh script

I'm trying to build a docker-compose to set up a postgres database with an initial script that creates some tables there. I have this docker-compose.yml version: '3.9' services: postgres: image: postgres:12.7 #restart: always environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres logging: options:…

VIEW QUESTION

Unable to login to Postgres – Docker

I am not able to login into my postgres databse deployed in docker. PFB my docker-compose.yml discountdb: image: postgres docker-compose.override.yml discountdb: container_name: discountdb environment: - POSTGRES_USER=admin - POSTGRES_PASSWORD=admin1234 - POSTGRES_DB=DiscountDb restart: always ports: - "5432:5432" volumes: - postgres_data:/var/lib/postgresql/data/ When I…

VIEW QUESTION
Back To Top
Search