# cedros-sunscreen environment variables
# Copy this file to .env (gitignored) and fill in your values

# Required — PostgreSQL connection string
DATABASE_URL=postgresql://user:password@localhost:5432/cedros_sunscreen

# OFAC SDN Advanced XML URL (official U.S. Treasury source)
# Default: https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/SDN_ADVANCED.XML
# OFAC_XML_URL=

# Ransomware tracker export URL
# Default: https://api.ransomwhe.re/export
# RANSOMWARE_EXPORT_URL=

# How often (seconds) to refresh sanctions data from external sources
# Default: 3600 (1 hour)
# DATA_REFRESH_INTERVAL_SECS=3600

# How often (seconds) to refresh the in-memory API key cache from the database
# Default: 60 (1 minute)
# API_KEY_REFRESH_INTERVAL_SECS=60
