solana-proxy/stack/stack-orchestrator/compose/docker-compose-solana-proxy.yml
shreerang 72c885bed9 Implement stack (#2)
Part of https://www.notion.so/Laconic-Mainnet-Plan-1eca6b22d47280569cd0d1e6d711d949

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Reviewed-on: #2
Co-authored-by: shreerang <shreerang@noreply.git.vdb.to>
Co-committed-by: shreerang <shreerang@noreply.git.vdb.to>
2025-08-01 11:01:31 +00:00

33 lines
847 B
YAML

services:
# Builds and serves the solana proxy
solana-proxy:
restart: unless-stopped
image: cerc/solana-proxy:local
environment:
# Provider endpoints and auth (optional)
ALCHEMY_API_KEY: ${ALCHEMY_API_KEY}
HELIUS_API_KEY: ${HELIUS_API_KEY}
QUICKNODE_ENDPOINT: ${QUICKNODE_ENDPOINT}
QUICKNODE_TOKEN: ${QUICKNODE_TOKEN}
# Proxy settings
CACHE_SIZE_GB: 1
BACKOFF_MINUTES: 30
# Logging
LOG_LEVEL: ${LOG_LEVEL:-INFO}
ERROR_DB_PATH: /app/errors.db
command: ["solana-proxy"]
volumes:
- solana-proxy-data:/app
ports:
- "8545"
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8545').read()"]
interval: 30s
timeout: 10s
retries: 3
volumes:
solana-proxy-data: