26 lines
786 B
YAML
26 lines
786 B
YAML
|
version: '3.2'
|
||
|
|
||
|
services:
|
||
|
# Deploys the sushiswap v3 subgraph
|
||
|
sushiswap-subgraph-v3:
|
||
|
image: cerc/sushiswap-subgraphs:local
|
||
|
restart: on-failure
|
||
|
depends_on:
|
||
|
graph-node
|
||
|
environment:
|
||
|
- APP=v3
|
||
|
- NETWORK=lotus-fixturenet
|
||
|
command: ["./run-v3.sh"]
|
||
|
working_dir: /app/subgraphs/v3
|
||
|
volumes:
|
||
|
- ../config/sushiswap-subgraph-v3/lotus-fixturenet.js:/app/config/lotus-fixturenet.js
|
||
|
- ../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:
|