init: wip indexer
This commit is contained in:
22
dev/docker-compose.yaml
Normal file
22
dev/docker-compose.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
restart: unless-stopped
|
||||
user: postgres
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
- POSTGRES_USER=postgres
|
||||
volumes:
|
||||
- ./init_db.sql:/docker-entrypoint-initdb.d/init_db.sql
|
||||
- indexer-pg:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "127.0.0.1:5432:5432"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
indexer-pg:
|
||||
driver: local
|
||||
1
dev/init_db.sql
Normal file
1
dev/init_db.sql
Normal file
@@ -0,0 +1 @@
|
||||
CREATE DATABASE ge_celo_data;
|
||||
Reference in New Issue
Block a user