mirror of
https://github.com/grassrootseconomics/cic-custodial.git
synced 2024-12-03 10:36:45 +01:00
fix: config.toml and dev docker-compose
This commit is contained in:
parent
a98fe958a3
commit
e67a42ede3
@ -7,7 +7,6 @@ metrics = true
|
||||
[chain]
|
||||
rpc_endpoint = ""
|
||||
testnet = true
|
||||
devnet = false
|
||||
registry_address = ""
|
||||
|
||||
[system]
|
||||
@ -32,5 +31,3 @@ worker_count = 15
|
||||
|
||||
[jetstream]
|
||||
endpoint = ""
|
||||
persist_duration_hrs = 48
|
||||
dedup_duration_hrs = 6
|
@ -13,32 +13,32 @@ services:
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
# postgres:
|
||||
# image: postgres:14-alpine
|
||||
# restart: unless-stopped
|
||||
# user: postgres
|
||||
# environment:
|
||||
# - POSTGRES_PASSWORD=postgres
|
||||
# - POSTGRES_USER=postgres
|
||||
# volumes:
|
||||
# - cic-custodial-pg:/var/lib/postgresql/data
|
||||
# - ./init_db.sql:/docker-entrypoint-initdb.d/init_db.sql
|
||||
# ports:
|
||||
# - "127.0.0.1:5433:5432"
|
||||
# healthcheck:
|
||||
# test: ["CMD-SHELL", "pg_isready"]
|
||||
# interval: 10s
|
||||
# timeout: 5s
|
||||
# retries: 5
|
||||
# nats:
|
||||
# image: nats:2.9
|
||||
# restart: unless-stopped
|
||||
# command: "-js -sd /nats/data"
|
||||
# volumes:
|
||||
# - cic-custodial-nats:/nats/data
|
||||
# ports:
|
||||
# - "127.0.0.1:4223:4222"
|
||||
# - "127.0.0.1:8223:8222"
|
||||
postgres:
|
||||
image: postgres:14-alpine
|
||||
restart: unless-stopped
|
||||
user: postgres
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
- POSTGRES_USER=postgres
|
||||
volumes:
|
||||
- cic-custodial-pg:/var/lib/postgresql/data
|
||||
- ./init_db.sql:/docker-entrypoint-initdb.d/init_db.sql
|
||||
ports:
|
||||
- "127.0.0.1:5432:5432"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
nats:
|
||||
image: nats:2.9
|
||||
restart: unless-stopped
|
||||
command: "-js -sd /nats/data"
|
||||
volumes:
|
||||
- cic-custodial-nats:/nats/data
|
||||
ports:
|
||||
- "127.0.0.1:4222:4222"
|
||||
- "127.0.0.1:8222:8222"
|
||||
asynqmon:
|
||||
image: hibiken/asynqmon
|
||||
restart: unless-stopped
|
||||
@ -49,16 +49,16 @@ services:
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
# cic-chain-events:
|
||||
# image: ghcr.io/grassrootseconomics/cic-chain-events/cic-chain-events:latest
|
||||
# restart: unless-stopped
|
||||
# env_file:
|
||||
# - events.env
|
||||
# ports:
|
||||
# - '127.0.0.1:5001:5000'
|
||||
# depends_on:
|
||||
# postgres:
|
||||
# condition: service_healthy
|
||||
cic-chain-events:
|
||||
image: ghcr.io/grassrootseconomics/cic-chain-events/cic-chain-events:latest
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- events.env
|
||||
ports:
|
||||
- '127.0.0.1:5001:5000'
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
cic-custodial-pg:
|
||||
driver: local
|
||||
|
Loading…
Reference in New Issue
Block a user