Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
TAdev0 committed Apr 11, 2024
1 parent 7dfb7f0 commit 3b934fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions indexer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ services:
- XDG_DATA_HOME=/data
- APIBARA_STREAM_URL=http://art-peace-apibara-1:7171
- TARGET_URL=http://art-peace-backend-1:8080/consumeIndexerMsg
- LOCALHOST_STREAM_URL=http://localhost:7171
- LOCALHOST_TARGET_URL=http://localhost:8080/consumeIndexerMsg

volumes:
- dna:/data
Expand Down
6 changes: 2 additions & 4 deletions indexer/docker-script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export const config = {
streamUrl:
Deno.env.get("APIBARA_STREAM_URL") || Deno.env.get("LOCALHOST_STREAM_URL"),
streamUrl: Deno.env.get("APIBARA_STREAM_URL"),
startingBlock: 0,
network: "starknet",
finality: "DATA_STATUS_PENDING",
Expand All @@ -19,8 +18,7 @@ export const config = {
},
sinkType: "webhook",
sinkOptions: {
targetUrl:
Deno.env.get("SINK_TARGET_URL") || Deno.env.get("LOCALHOST_TARGET_URL"),
targetUrl: Deno.env.get("TARGET_URL"),
},
};

Expand Down

0 comments on commit 3b934fc

Please sign in to comment.