Last active
April 19, 2022 05:07
-
-
Save Raouf25/391d69ed3f67b7694f2d5d6b66c4015d to your computer and use it in GitHub Desktop.
This file contains hidden or 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' | |
services: | |
postgres: | |
container_name: container-postgresdb | |
image: postgres | |
hostname: postgres | |
ports: | |
- "6543:5432" | |
environment: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: admin | |
POSTGRES_DB: TEST_SM | |
volumes: | |
- postgres-data:/var/lib/postgresql/data | |
restart: unless-stopped | |
pgadmin: | |
image: dpage/pgadmin4 | |
depends_on: | |
- postgres | |
ports: | |
- "5050:80" | |
environment: | |
PGADMIN_DEFAULT_EMAIL: [email protected] | |
PGADMIN_DEFAULT_PASSWORD: admin | |
restart: unless-stopped | |
volumes: | |
postgres-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment