Skip to content

Instantly share code, notes, and snippets.

@AnanthaRajuC
Created August 14, 2022 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AnanthaRajuC/adff45b298635d024abd2d49c26e30df to your computer and use it in GitHub Desktop.
Save AnanthaRajuC/adff45b298635d024abd2d49c26e30df to your computer and use it in GitHub Desktop.
PostgreSQL-pgAdmin
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