Created
October 1, 2022 04:07
-
-
Save jinagamvasubabu/0a0a04a2f4d890708692bfe04f384040 to your computer and use it in GitHub Desktop.
Minimal Postgres docker container
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: | |
postgres: | |
image: postgres | |
container_name: postgres | |
restart: always | |
ports: | |
- "54320:5432" | |
environment: | |
POSTGRES_USER: user | |
POSTGRES_PASSWORD: admin | |
pgadmin: | |
image: dpage/pgadmin4 | |
container_name: pgadmin | |
restart: always | |
ports: | |
- "5050:80" | |
environment: | |
PGADMIN_DEFAULT_EMAIL: admin@admin.com | |
PGADMIN_DEFAULT_PASSWORD: admin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment