| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- services:
- spy:
- # Find latest Guardian images in https://github.com/wormhole-foundation/wormhole/pkgs/container/guardiand
- image: ghcr.io/wormhole-foundation/guardiand:v2.23.28
- restart: on-failure
- command:
- - "spy"
- - "--nodeKey"
- - "/node.key"
- - "--spyRPC"
- - "[::]:7072"
- - "--bootstrap"
- - "/dns4/wormhole-v2-mainnet-bootstrap.xlabs.xyz/udp/8999/quic/p2p/12D3KooWNQ9tVrcb64tw6bNs2CaNrUGPM7yRrKvBBheQ5yCyPHKC,/dns4/wormhole.mcf.rocks/udp/8999/quic/p2p/12D3KooWDZVv7BhZ8yFLkarNdaSWaB43D6UbQwExJ8nnGAEmfHcU,/dns4/wormhole-v2-mainnet-bootstrap.staking.fund/udp/8999/quic/p2p/12D3KooWG8obDX9DNi1KUwZNu9xkGwfKqTp2GFwuuHpWZ3nQruS1"
- - "--network"
- - "/wormhole/mainnet/2"
- - "--logLevel"
- - "warn"
- price-service:
- # Find latest price service images https://gallery.ecr.aws/pyth-network/xc-server
- image: public.ecr.aws/pyth-network/xc-server:v3.0.8
- restart: on-failure
- # Or alternatively use a locally built image
- # image: pyth_price_server
- environment:
- SPY_SERVICE_HOST: "spy:7072"
- SPY_SERVICE_FILTERS: |
- [
- {
- "chain_id": 1,
- "emitter_address": "6bb14509a612f01fbbc4cffeebd4bbfb492a86df717ebe92eb6df432a3f00a25"
- },
- {
- "chain_id": 26,
- "emitter_address": "f8cd23c2ab91237730770bbea08d61005cdda0984348f3f6eecb559638c0bba0"
- }
- ]
- REST_PORT: "4200"
- PROM_PORT: "8081"
- READINESS_SPY_SYNC_TIME_SECONDS: "5"
- READINESS_NUM_LOADED_SYMBOLS: "280"
- LOG_LEVEL: warning
- WORMHOLE_CLUSTER: mainnet
- DB_API_CLUSTER: pythnet
- REMOVE_EXPIRED_VALUES_INTERVAL_SECONDS: "60"
- CACHE_TTL_SECONDS: "300"
- DB_API_ENDPOINT: "https://web-api.pyth.network"
- ports:
- - "4200:4200"
- healthcheck:
- test:
- [
- "CMD",
- "wget",
- "--no-verbose",
- "--tries=1",
- "--spider",
- "http://localhost:4200/ready",
- ]
- start_period: 20s
- depends_on:
- - spy
|