-
-
Save hunzo/71ede89e90f54f62767c2f3be5ef9993 to your computer and use it in GitHub Desktop.
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
POSTGRES_READY=0 | |
POSTGRES_DB=djangoDB | |
POSTGRES_PASSWORD=pgPassword | |
POSTGRES_USER=pgUser | |
POSTGRES_HOST=localhost | |
POSTGRES_PORT=5431 |
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.9' | |
services: | |
db: | |
image: postgres:15.2-alpine3.17 | |
restart: always | |
ports: | |
- 5431:5431 | |
volumes: | |
- ./db:/var/lib/postgresql/data | |
env_file: | |
- .env | |
networks: | |
- net | |
pgadmin: | |
image: dpage/pgadmin4 | |
environment: | |
- PGADMIN_DEFAULT_EMAIL=admin@email.local | |
- PGADMIN_DEFAULT_PASSWORD=pgadmin | |
ports: | |
- 8081:80 | |
networks: | |
- net | |
networks: | |
net: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment