Skip to content

Commit

Permalink
Add pgadmin on docker-compose #1310 (#1311)
Browse files Browse the repository at this point in the history
  • Loading branch information
hocinehacherouf authored Oct 6, 2022
1 parent a100d73 commit 5979096
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ services:
- 5432:5432
volumes:
- pgdata:/var/lib/postgresql/data
pgadmin:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: admin
PGADMIN_CONFIG_SERVER_MODE: 'False'
ports:
- 5050:80
volumes:
- pgadmin:/var/lib/pgadmin
depends_on:
- "database"
azureiothub.portal.server:
image: ${DOCKER_REGISTRY-}azureiothubportalserver
build:
Expand All @@ -19,3 +31,4 @@ services:
- "database"
volumes:
pgdata:
pgadmin:

0 comments on commit 5979096

Please sign in to comment.