Last active
August 13, 2021 13:01
-
-
Save samhk222/8c3fb0b8a0ac080719ad4b5e5ee5cb8b 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' | |
services: | |
db: | |
container_name: IVW-postgres | |
env_file: .docker/.env | |
image: postgres | |
environment: | |
POSTGRES_PASSWORD: ${DB_PASSWORD} | |
POSTGRES_DB: ${DB_DATABASE} | |
volumes: | |
- pgdata:/var/lib/postgresql/data | |
ports: | |
- "15432:5432" | |
networks: | |
- ivw-backend-network | |
pgadmin: | |
container_name: IVW-pgadmin | |
env_file: .docker/.env | |
image: dpage/pgadmin4 | |
links: | |
- db | |
volumes: | |
- pgadmin:/var/lib/pgadmin | |
environment: | |
PGADMIN_DEFAULT_EMAIL: ${MAIL_FROM_ADDRESS} | |
PGADMIN_DEFAULT_PASSWORD: ${DB_PASSWORD} | |
ports: | |
- "16543:80" | |
depends_on: | |
- db | |
networks: | |
- ivw-backend-network | |
volumes: | |
pgdata: | |
pgadmin: | |
networks: | |
ivw-backend-network: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment