diff --git a/examples/testing.yml b/examples/testing.yml deleted file mode 100644 index 5b83cd7..0000000 --- a/examples/testing.yml +++ /dev/null @@ -1,14 +0,0 @@ -testing: - databaseUrl: postgres://localhost:5432/graphix - environments: - - id: indexer-1 - type: Indexer - urls: - status: http://localhost:8103/graphql - - id: indexer-2 - type: Indexer - urls: - status: http://localhost:8203/graphql - # - id: indexer-3 - # urls: - # status: http://localhost:8303/graphql diff --git a/examples/testnet.yml b/examples/testnet.yml new file mode 100644 index 0000000..aa20675 --- /dev/null +++ b/examples/testnet.yml @@ -0,0 +1,15 @@ +databaseUrl: postgres://graphix:password@psql.testnet.service.internal:5432/graphix +sources: + - type: indexer + name: testnet-indexer-03 + urls: + status: https://testnet-indexer-03-europe-cent.thegraph.com/status + - type: indexer + name: ellipra + urls: + status: http://graph-testnet.ellipfra.net/status + - type: networkSubgraph + endpoint: https://api.thegraph.com/subgraphs/name/graphprotocol/graph-network-goerli + query: byAllocations + stakeThreshold: 0.0 + limit: 0 # Disabled for now diff --git a/ops/cross-checker.dockerfile b/ops/cross-checker.dockerfile index 5766b5a..f922c56 100644 --- a/ops/cross-checker.dockerfile +++ b/ops/cross-checker.dockerfile @@ -38,9 +38,9 @@ RUN apt-get update && \ apt-get clean COPY --from=builder /usr/local/bin/graphix-cross-checker /usr/local/bin -COPY --from=builder /app/examples/testing.yml /app/config.yml +COPY --from=builder /app/examples/testnet.yml /app/config.yml EXPOSE 14265 ENTRYPOINT [ "graphix-cross-checker" ] -CMD ["graphix-cross-checker", "--config", "/app/config.yml"] +CMD ["--config", "/app/config.yml"]