Monday, March 20, 2023
HomeReactJust how to utilize Postgres with Docker

Just how to utilize Postgres with Docker


variation: ‘ 3.8’

solutions:

postgres:

picture: postgres: 14.2 towering

setting:

POSTGRES_USER: $ { POSTGRES_USER: postgres}

POSTGRES_PASSWORD: $ { POSTGRES_PASSWORD: postgres}

POSTGRES_DB: mydatabase

PGDATA: / data/mydatabase

quantities:

pgstore: / var/lib/postgresql/ information

ports:

‘ 5432:5432’

networks:

postgres

reboot: unless quit

pgadmin:

picture: dpage/pgadmin4: 6.5

setting:

PGADMIN_DEFAULT_EMAIL: $ { PGADMIN_DEFAULT_EMAIL: admin@admin.com}

PGADMIN_DEFAULT_PASSWORD: $ { PGADMIN_DEFAULT_PASSWORD: admin}

quantities:

pgadmin: / origin/. pgadmin

ports:

‘ 5050:80’

networks:

postgres

depends_on:

postgres

reboot: unless quit

networks:

postgres:

motorist: bridge

quantities:

pgstore:

pgadmin:

.

RELATED ARTICLES

Most Popular

Recent Comments