Skip to content

Commit

Permalink
feat: add pgAdmin to manage postgres db
Browse files Browse the repository at this point in the history
  • Loading branch information
MexicanAce committed May 8, 2024
1 parent 0dfb0ba commit 1d723f2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions hyperchain-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
# So 15100 - 'master', 15200 - 'slave', 15300 - 'slave2'

# Database is on 15432
# pgAdmin to manage PostgreSQL DB is on 8432

services:
reth:
Expand Down Expand Up @@ -52,6 +53,17 @@ services:
# We bind only to 127.0.0.1, so setting insecure password is acceptable here
- POSTGRES_PASSWORD=notsecurepassword

pgadmin4:
image: dcagatay/pwless-pgadmin4:latest
ports:
- 8432:80
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: notsecurepassword
POSTGRES_HOST: "host.docker.internal"
POSTGRES_PORT: 15432
restart: unless-stopped

# Master node - that will create the hyperchain
zksync:
stdin_open: true
Expand Down

0 comments on commit 1d723f2

Please sign in to comment.