Create stack for sushiswap v3 subgraph watcher #8

Merged
ashwin merged 15 commits from deep-stack/sushiswap-watcher-ts:ng-create-stack-for-sushiswap into main 2024-06-19 05:48:00 +00:00
Showing only changes of commit 7dbaed7508 - Show all commits

View File

@ -11,7 +11,7 @@ services:
- POSTGRES_PASSWORD=password - POSTGRES_PASSWORD=password
volumes: volumes:
- ../config/postgresql/multiple-postgressql-databases.sh:/docker-entrypoint-initdb.d/multiple-postgressql-databases.sh - ../config/postgresql/multiple-postgressql-databases.sh:/docker-entrypoint-initdb.d/multiple-postgressql-databases.sh
- sushiswap-v3_watcher_db_data:/var/lib/postgresql/data - sushiswap_v3_watcher_db_data:/var/lib/postgresql/data
ports: ports:
- "5432" - "5432"
healthcheck: healthcheck:
@ -60,10 +60,10 @@ services:
volumes: volumes:
- ../config/watcher-sushiswap-v3/watcher-config-template.toml:/app/environments/watcher-config-template.toml - ../config/watcher-sushiswap-v3/watcher-config-template.toml:/app/environments/watcher-config-template.toml
- ../config/watcher-sushiswap-v3/start-server.sh:/app/start-server.sh - ../config/watcher-sushiswap-v3/start-server.sh:/app/start-server.sh
- sushiswap-v3_watcher_gql_logs_data:/app/gql-logs - sushiswap_v3_watcher_gql_logs_data:/app/gql-logs
ports: ports:
- "127.0.0.1:3008:3008" - "3008"
- "9001:9001" - "9001"
healthcheck: healthcheck:
test: ["CMD", "nc", "-vz", "127.0.0.1", "3008"] test: ["CMD", "nc", "-vz", "127.0.0.1", "3008"]
interval: 20s interval: 20s
@ -74,5 +74,5 @@ services:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
volumes: volumes:
sushiswap-v3_watcher_db_data: sushiswap_v3_watcher_db_data:
sushiswap-v3_watcher_gql_logs_data: sushiswap_v3_watcher_gql_logs_data: