Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add pgAdmin to manage postgres db #22

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 15430

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:
- 127.0.0.1:15430:80
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: notsecurepassword
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
restart: unless-stopped

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