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