2023-08-14 08:47:21 +00:00
|
|
|
version: '3.2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
# Deploys the sushiswap v3 subgraph
|
|
|
|
sushiswap-subgraph-v3:
|
|
|
|
image: cerc/sushiswap-subgraphs:local
|
|
|
|
restart: on-failure
|
|
|
|
depends_on:
|
|
|
|
graph-node:
|
|
|
|
condition: service_healthy
|
|
|
|
environment:
|
|
|
|
- APP=v3
|
2023-08-18 06:04:49 +00:00
|
|
|
# - NETWORK=lotus-fixturenet
|
|
|
|
- NETWORK=filecoin
|
2023-08-22 08:50:38 +00:00
|
|
|
command: ["bash", "-c", "./blocks/run-blocks.sh && ./v3/run-v3.sh"]
|
2023-08-21 13:14:10 +00:00
|
|
|
working_dir: /app/subgraphs
|
2023-08-14 08:47:21 +00:00
|
|
|
volumes:
|
2023-08-18 06:04:49 +00:00
|
|
|
- ../config/sushiswap-subgraph-v3/filecoin.js:/app/config/filecoin.js
|
|
|
|
# - ../config/sushiswap-subgraph-v3/lotus-fixturenet.js.template:/app/config/lotus-fixturenet.js.template
|
2023-08-21 13:14:10 +00:00
|
|
|
- ../config/sushiswap-subgraph-v3/run-blocks.sh:/app/subgraphs/blocks/run-blocks.sh
|
2023-08-22 08:50:38 +00:00
|
|
|
- ../config/sushiswap-subgraph-v3/run-v3.sh:/app/subgraphs/v3/run-v3.sh
|
2023-08-18 06:04:49 +00:00
|
|
|
# - sushiswap_core_deployment:/app/subgraphs/v3/core-deployments/docker
|
|
|
|
# - sushiswap_periphery_deployment:/app/subgraphs/v3/deployments/docker
|
2023-08-14 08:47:21 +00:00
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
|
2023-08-18 06:04:49 +00:00
|
|
|
# volumes:
|
|
|
|
# sushiswap_core_deployment:
|
|
|
|
# sushiswap_periphery_deployment:
|