skip to Main Content

Unable to connect to Postgres within docker

So I'm trying to dockerize my Postgres-Express-React-Node Application the docker-compose for the application is version: '3.8' services: postgres: image: postgres:12.1 restart: always ports: - "5432:5432" environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: PGAdminAth backend: build: ./backend container_name: backend_c volumes: - /app/node_modules - ./backend:/app…

VIEW QUESTION
Back To Top
Search