# Copy this file to .env and fill in your values. # --- Database --- # Local dev (matches docker/docker-compose.yml defaults): DATABASE_URL=postgresql://repertory:repertory@localhost:5432/tunes # Production example: # DATABASE_URL=postgresql://user:password@your-db-host:5432/tunes # --- Ports --- # If you change DB_PORT, update the port in DATABASE_URL to match. # If you change API_PORT, update the port in REPERTORY_HOST to match. API_PORT=5000 DB_PORT=5432 # --- Flask --- FLASK_ENV=development FLASK_DEBUG=1 # --- CORS --- # Comma-separated list of allowed origins, or * for local dev. # In production set this to your S3/CloudFront domain: # CORS_ORIGINS=https://yourdomain.com CORS_ORIGINS=* # --- API Key --- # For local dev set this directly. # In production this is retrieved at startup via SOPS + age (see README). API_KEY=dev-secret-key-change-me # --- ain (terminal HTTP client) --- # Used by the ain templates in ain/ — set to wherever the API is running. REPERTORY_HOST=http://localhost:5000