File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -233,15 +233,21 @@ timeout 30 bash -c 'until docker ps | grep indexer | grep -q healthy; do sleep 5
233233timeout 30 bash -c ' until docker ps | grep tap-agent | grep -q healthy; do sleep 5; done'
234234
235235echo " Building gateway image..."
236+ source local-network/.env
236237docker build -t local-gateway:latest ./local-network/gateway
237238
238239echo " Running gateway container..."
239240docker run -d --name gateway \
240241 --network local-network_default \
241242 -p 7700:7700 \
242- -v $( pwd) /local-network/.env:/opt/.env:ro \
243- -v $( pwd) /local-network/contracts.json:/opt/contracts.json:ro \
243+ -v " $( pwd) /local-network/contracts.json" :/opt/contracts.json:ro \
244244 -e RUST_LOG=info,graph_gateway=trace \
245+ -e ACCOUNT0_SECRET=" $ACCOUNT0_SECRET " \
246+ -e ACCOUNT0_ADDRESS=" $ACCOUNT0_ADDRESS " \
247+ -e GATEWAY_API_KEY=" $GATEWAY_API_KEY " \
248+ -e GRAPH_NODE_GRAPHQL=" $GRAPH_NODE_GRAPHQL " \
249+ -e REDPANDA_KAFKA=" $REDPANDA_KAFKA " \
250+ -e INDEXER_SERVICE=" $INDEXER_SERVICE " \
245251 --restart on-failure:3 \
246252 local-gateway:latest
247253
You can’t perform that action at this time.
0 commit comments