Created
August 14, 2022 09:19
-
-
Save AnanthaRajuC/adff45b298635d024abd2d49c26e30df to your computer and use it in GitHub Desktop.
PostgreSQL-pgAdmin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.7" | |
services: | |
postgres: | |
image: postgres:latest | |
container_name: postgres-latest | |
ports: | |
- 5432:5432 | |
environment: | |
- POSTGRES_USER=admin | |
- POSTGRES_PASSWORD=admin | |
- POSTGRES_DB=sample_db | |
pgadmin: | |
container_name: pgadmin4 | |
image: dpage/pgadmin4 | |
restart: always | |
environment: | |
PGADMIN_DEFAULT_EMAIL: root@admin.com | |
PGADMIN_DEFAULT_PASSWORD: root | |
ports: | |
- "5050:80" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment