fix: config.toml and dev docker-compose

This commit is contained in:
Mohamed Sohail 2023-04-06 06:12:37 +00:00
parent a98fe958a3
commit e67a42ede3
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D
2 changed files with 43 additions and 46 deletions

View File

@ -7,7 +7,6 @@ metrics = true
[chain] [chain]
rpc_endpoint = "" rpc_endpoint = ""
testnet = true testnet = true
devnet = false
registry_address = "" registry_address = ""
[system] [system]
@ -32,5 +31,3 @@ worker_count = 15
[jetstream] [jetstream]
endpoint = "" endpoint = ""
persist_duration_hrs = 48
dedup_duration_hrs = 6

View File

@ -13,32 +13,32 @@ services:
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5
# postgres: postgres:
# image: postgres:14-alpine image: postgres:14-alpine
# restart: unless-stopped restart: unless-stopped
# user: postgres user: postgres
# environment: environment:
# - POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
# - POSTGRES_USER=postgres - POSTGRES_USER=postgres
# volumes: volumes:
# - cic-custodial-pg:/var/lib/postgresql/data - cic-custodial-pg:/var/lib/postgresql/data
# - ./init_db.sql:/docker-entrypoint-initdb.d/init_db.sql - ./init_db.sql:/docker-entrypoint-initdb.d/init_db.sql
# ports: ports:
# - "127.0.0.1:5433:5432" - "127.0.0.1:5432:5432"
# healthcheck: healthcheck:
# test: ["CMD-SHELL", "pg_isready"] test: ["CMD-SHELL", "pg_isready"]
# interval: 10s interval: 10s
# timeout: 5s timeout: 5s
# retries: 5 retries: 5
# nats: nats:
# image: nats:2.9 image: nats:2.9
# restart: unless-stopped restart: unless-stopped
# command: "-js -sd /nats/data" command: "-js -sd /nats/data"
# volumes: volumes:
# - cic-custodial-nats:/nats/data - cic-custodial-nats:/nats/data
# ports: ports:
# - "127.0.0.1:4223:4222" - "127.0.0.1:4222:4222"
# - "127.0.0.1:8223:8222" - "127.0.0.1:8222:8222"
asynqmon: asynqmon:
image: hibiken/asynqmon image: hibiken/asynqmon
restart: unless-stopped restart: unless-stopped
@ -49,16 +49,16 @@ services:
depends_on: depends_on:
redis: redis:
condition: service_healthy condition: service_healthy
# cic-chain-events: cic-chain-events:
# image: ghcr.io/grassrootseconomics/cic-chain-events/cic-chain-events:latest image: ghcr.io/grassrootseconomics/cic-chain-events/cic-chain-events:latest
# restart: unless-stopped restart: unless-stopped
# env_file: env_file:
# - events.env - events.env
# ports: ports:
# - '127.0.0.1:5001:5000' - '127.0.0.1:5001:5000'
# depends_on: depends_on:
# postgres: postgres:
# condition: service_healthy condition: service_healthy
volumes: volumes:
cic-custodial-pg: cic-custodial-pg:
driver: local driver: local