mirror of
https://github.com/luxfi/price.git
synced 2026-10-30 15:21:24 +00:00
Remove any hardcoded defaults - API key must be provided via environment variable or GitHub secret for deployment.
15 lines
357 B
YAML
15 lines
357 B
YAML
services:
|
|
pricing:
|
|
build: .
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- COINGECKO_API_KEY=${COINGECKO_API_KEY:?COINGECKO_API_KEY is required}
|
|
- PORT=8080
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8080/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|