Skip to content

Commit

Permalink
Postgres db and password (#1296)
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianFigiel authored Sep 18, 2024
1 parent 426f46d commit 70f0c2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ARCHIVE_ENDPOINT=https://v2.archive.subsquid.io/network/enjin-matrix
DB_NAME=
DB_HOST=127.0.0.1
DB_PORT=5432
DB_PASS=postgres
REDIS_URL=redis://localhost:6379

# OPTIONAL
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ services:
image: postgres:16
restart: unless-stopped
environment:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: ${DB_NAME}
POSTGRES_PASSWORD: ${DB_PASS}
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
- indexer_db:/var/lib/postgresql/data
Expand Down

0 comments on commit 70f0c2a

Please sign in to comment.