Created
November 20, 2022 08:48
-
-
Save apshada/4c8c5428c750975428de7bda62b16efa to your computer and use it in GitHub Desktop.
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.8' | |
services: | |
db: | |
container_name: pg_container | |
image: postgres | |
restart: always | |
environment: | |
POSTGRES_USER: POSTGRES_USERNAME | |
POSTGRES_PASSWORD: POSTGRES_PASSWORD | |
POSTGRES_DB: psql | |
ports: | |
- "5432:5432" | |
pgadmin: | |
container_name: pgadmin4_container | |
image: dpage/pgadmin4 | |
restart: always | |
environment: | |
PGADMIN_DEFAULT_EMAIL: PGADMIN_EMAIL | |
PGADMIN_DEFAULT_PASSWORD: PGADMIN_PASSWORD | |
ports: | |
- "5050:80" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment