pyth-crosschain/third_party/pyth/price-service/docker-compose.yaml

41 lines
1.0 KiB
YAML

services:
spy:
image: ghcr.io/certusone/guardiand:v2.8.8.1
command:
- "spy"
- "--nodeKey"
- "/node.key"
- "--spyRPC"
- "[::]:7072"
- "--bootstrap"
- "/dns4/wormhole-testnet-v2-bootstrap.certus.one/udp/8999/quic/p2p/12D3KooWBY9ty9CXLBXGQzMuqkziLntsVcyz4pk1zWaJRvJn6Mmt"
- "--network"
- "/wormhole/testnet/2/1"
- "--logLevel"
- "debug"
price-service:
image: pyth_price_service
ports:
- "4200:4200"
environment:
- SPY_SERVICE_HOST=spy:7072
- SPY_SERVICE_FILTERS=[{"chain_id":1,"emitter_address":"f346195ac02f37d60d4db8ffa6ef74cb1be3550047543a4a9ee9acf4d78697b0"}]
- REST_PORT=4200
- PROM_PORT=8081
- READINESS_SPY_SYNC_TIME_SECONDS=60
- READINESS_NUM_LOADED_SYMBOLS=8
- LOG_LEVEL=debug
healthcheck:
test:
[
"CMD",
"wget",
"--no-verbose",
"--tries=1",
"--spider",
"http://localhost:4200/ready",
]
start_period: 60s
depends_on:
- spy