Skip to content

Commit b765c9e

Browse files
committed
Update docker-compose files
1 parent 9f9d2c4 commit b765c9e

File tree

4 files changed

+44
-28
lines changed

4 files changed

+44
-28
lines changed

price_pusher/docker-compose.mainnet.sample.yaml

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
spy:
33
# Find latest Guardian images in https://github.com/wormhole-foundation/wormhole/pkgs/container/guardiand
4-
image: ghcr.io/wormhole-foundation/guardiand:v2.17.0
4+
image: ghcr.io/wormhole-foundation/guardiand:v2.19.0
55
command:
66
- "spy"
77
- "--nodeKey"
@@ -16,7 +16,7 @@ services:
1616
- "warn"
1717
price-service:
1818
# Find latest price service images https://gallery.ecr.aws/pyth-network/xc-server
19-
image: public.ecr.aws/pyth-network/xc-server:v3.0.3
19+
image: public.ecr.aws/pyth-network/xc-server:v3.0.8
2020
environment:
2121
SPY_SERVICE_HOST: "spy:7072"
2222
SPY_SERVICE_FILTERS: |
@@ -32,8 +32,8 @@ services:
3232
]
3333
REST_PORT: "4200"
3434
PROM_PORT: "8081"
35-
READINESS_SPY_SYNC_TIME_SECONDS: "20"
36-
READINESS_NUM_LOADED_SYMBOLS: "50"
35+
READINESS_SPY_SYNC_TIME_SECONDS: "5"
36+
READINESS_NUM_LOADED_SYMBOLS: "280"
3737
LOG_LEVEL: warning
3838
WORMHOLE_CLUSTER: mainnet
3939
healthcheck:
@@ -50,12 +50,20 @@ services:
5050
depends_on:
5151
- spy
5252
price-pusher:
53-
build:
54-
context: .
55-
# Uncomment this line (and comment out the above lines) to use a prebuilt image. Replace <version>
56-
# with the latest released image of the price pusher from this repo release page:
57-
# https://github.com/pyth-network/pyth-crosschain/releases
58-
# image: public.ecr.aws/pyth-network/xc-price-pusher:v<version>
53+
# Use this to build the price pusher from source. A dependency of the pusher docker
54+
# image is the pyth-crosschain monorepo lerna docker image. Build lerna image
55+
# using the following command from the repo root:
56+
# `docker buildx build -f tilt_devnet/docker_images/Dockerfile.lerna -t lerna .`
57+
#
58+
# Please note that the docker build from source only works in x86_64 platforms
59+
# and doesn't work on arm platforms (like Apple M1/M2).
60+
#
61+
# build:
62+
# context: .
63+
64+
# Replace <version> with the latest released image of the price pusher from here:
65+
# https://gallery.ecr.aws/pyth-network/xc-price-pusher
66+
image: public.ecr.aws/pyth-network/xc-price-pusher:v<version>
5967
restart: always
6068
command:
6169
- "--"

price_pusher/docker-compose.testnet.sample.yaml

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
spy:
33
# Find latest Guardian images in https://github.com/wormhole-foundation/wormhole/pkgs/container/guardiand
4-
image: ghcr.io/wormhole-foundation/guardiand:v2.17.0
4+
image: ghcr.io/wormhole-foundation/guardiand:v2.19.0
55
command:
66
- "spy"
77
- "--nodeKey"
@@ -16,7 +16,7 @@ services:
1616
- "warn"
1717
price-service:
1818
# Find latest price service images https://gallery.ecr.aws/pyth-network/xc-server
19-
image: public.ecr.aws/pyth-network/xc-server:v3.0.3
19+
image: public.ecr.aws/pyth-network/xc-server:v3.0.8
2020
environment:
2121
SPY_SERVICE_HOST: "spy:7072"
2222
SPY_SERVICE_FILTERS: |
@@ -32,8 +32,8 @@ services:
3232
]
3333
REST_PORT: "4200"
3434
PROM_PORT: "8081"
35-
READINESS_SPY_SYNC_TIME_SECONDS: "20"
36-
READINESS_NUM_LOADED_SYMBOLS: "50"
35+
READINESS_SPY_SYNC_TIME_SECONDS: "5"
36+
READINESS_NUM_LOADED_SYMBOLS: "280"
3737
LOG_LEVEL: warning
3838
WORMHOLE_CLUSTER: testnet
3939
healthcheck:
@@ -50,12 +50,20 @@ services:
5050
depends_on:
5151
- spy
5252
price-pusher:
53-
build:
54-
context: .
55-
# Uncomment this line (and comment out the above lines) to use a prebuilt image. Replace <version>
56-
# with the latest released image of the price pusher from this repo release page:
57-
# https://github.com/pyth-network/pyth-crosschain/releases
58-
# image: public.ecr.aws/pyth-network/xc-price-pusher:v<version>
53+
# Use this to build the price pusher from source. A dependency of the pusher docker
54+
# image is the pyth-crosschain monorepo lerna docker image. Build lerna image
55+
# using the following command from the repo root:
56+
# `docker buildx build -f tilt_devnet/docker_images/Dockerfile.lerna -t lerna .`
57+
#
58+
# Please note that the docker build from source only works in x86_64 platforms
59+
# and doesn't work on arm platforms (like Apple M1/M2).
60+
#
61+
# build:
62+
# context: .
63+
64+
# Replace <version> with the latest released image of the price pusher from here:
65+
# https://gallery.ecr.aws/pyth-network/xc-price-pusher
66+
image: public.ecr.aws/pyth-network/xc-price-pusher:v<version>
5967
restart: always
6068
command:
6169
- "--"

price_service/server/docker-compose.mainnet.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
spy:
33
# Find latest Guardian images in https://github.com/wormhole-foundation/wormhole/pkgs/container/guardiand
4-
image: ghcr.io/wormhole-foundation/guardiand:v2.17.0
4+
image: ghcr.io/wormhole-foundation/guardiand:v2.19.0
55
restart: on-failure
66
command:
77
- "spy"
@@ -17,7 +17,7 @@ services:
1717
- "warn"
1818
price-service:
1919
# Find latest price service images https://gallery.ecr.aws/pyth-network/xc-server
20-
image: public.ecr.aws/pyth-network/xc-server:v3.0.3
20+
image: public.ecr.aws/pyth-network/xc-server:v3.0.8
2121
restart: on-failure
2222
# Or alternatively use a locally built image
2323
# image: pyth_price_server
@@ -36,8 +36,8 @@ services:
3636
]
3737
REST_PORT: "4200"
3838
PROM_PORT: "8081"
39-
READINESS_SPY_SYNC_TIME_SECONDS: "20"
40-
READINESS_NUM_LOADED_SYMBOLS: "50"
39+
READINESS_SPY_SYNC_TIME_SECONDS: "5"
40+
READINESS_NUM_LOADED_SYMBOLS: "280"
4141
LOG_LEVEL: warning
4242
WORMHOLE_CLUSTER: mainnet
4343
DB_API_CLUSTER: pythnet

price_service/server/docker-compose.testnet.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
spy:
33
# Find latest Guardian images in https://github.com/wormhole-foundation/wormhole/pkgs/container/guardiand
4-
image: ghcr.io/wormhole-foundation/guardiand:v2.17.0
4+
image: ghcr.io/wormhole-foundation/guardiand:v2.19.0
55
restart: on-failure
66
command:
77
- "spy"
@@ -17,7 +17,7 @@ services:
1717
- "warn"
1818
price-service:
1919
# Find latest price service images https://gallery.ecr.aws/pyth-network/xc-server
20-
image: public.ecr.aws/pyth-network/xc-server:v3.0.3
20+
image: public.ecr.aws/pyth-network/xc-server:v3.0.8
2121
restart: on-failure
2222
# Or alternatively use a locally built image
2323
# image: pyth_price_server
@@ -36,8 +36,8 @@ services:
3636
]
3737
REST_PORT: "4200"
3838
PROM_PORT: "8081"
39-
READINESS_SPY_SYNC_TIME_SECONDS: "20"
40-
READINESS_NUM_LOADED_SYMBOLS: "50"
39+
READINESS_SPY_SYNC_TIME_SECONDS: "5"
40+
READINESS_NUM_LOADED_SYMBOLS: "280"
4141
LOG_LEVEL: warning
4242
WORMHOLE_CLUSTER: testnet
4343
DB_API_CLUSTER: devnet

0 commit comments

Comments
 (0)