skip to Main Content

postgres docker : role "root" does not exist

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:…

VIEW QUESTION
Back To Top
Search