Skip to content

Commit d16594c

Browse files
authored
[xc-pusher] Fix docker compose (testnet) (#781)
* Fix docker compose * Fix typo * Fix typo
1 parent c210bf0 commit d16594c

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

price_pusher/config.evm.testnet.sample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"endpoint": "https://endpoints.omniatech.io/v1/fantom/testnet/public",
3-
"pyth-contract-address": "0xff1a0f4744e8582DF1aE09D5611b887B6a12925CZ",
3+
"pyth-contract-address": "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
44
"price-service-endpoint": "https://xc-testnet.pyth.network",
55
"mnemonic-file": "./mnemonic",
66
"price-config-file": "./price-config.testnet.sample.yaml"

price_pusher/docker-compose.testnet.sample.yaml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,23 +58,25 @@ services:
5858
restart: always
5959
command:
6060
- "--"
61-
- "injective"
62-
# you can choose to provide all the options here or a path to the config file
63-
# we are providing a path to the config file
64-
- "--config"
65-
- "/command_config"
61+
- "evm"
62+
- "--endpoint"
63+
# Replace this with RPC endpoint URL for the EVM network.
64+
- "https://endpoints.omniatech.io/v1/fantom/testnet/public"
65+
- "--mnemonic-file"
66+
- "/mnemonic"
67+
- "--pyth-contract-address"
68+
- "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C"
69+
- "--price-service-endpoint"
70+
- "http://price-service:4200"
71+
- "--price-config-file"
72+
- "/price_config"
6673
configs:
67-
- command_config
6874
- mnemonic
6975
- price_config
7076
depends_on:
7177
price-service:
7278
condition: service_healthy
7379
configs:
74-
command_config:
75-
# Replace this with the path to the configuration file. You need to update the paths defined in
76-
# the config file
77-
file: ./config.injective.testnet.sample.json
7880
mnemonic:
7981
file: ./mnemonic # Replace this with the path to the mnemonic file
8082
price_config:

0 commit comments

Comments
 (0)