feat: add API_KEY to .env.example with placeholder and instructions
- Add API_KEY environment variable with placeholder value 'change_me_to_a_strong_random_key' - Include helpful comment explaining its purpose: authentication between Next.js and ML service - Provide command for generating strong random value: openssl rand -hex 32 - Mark task 3.4 as completed
This commit is contained in:
parent
4a3e4a48ba
commit
c023702644
2 changed files with 5 additions and 1 deletions
|
|
@ -2,6 +2,10 @@ NODE_ENV=production
|
|||
PORT=3000
|
||||
DATABASE_URL=postgresql://your_db_user:change_me_to_a_strong_password@postgres:5432/candle_annotator
|
||||
|
||||
# API key for authenticating requests between Next.js and ML service
|
||||
# Generate a strong random value: openssl rand -hex 32
|
||||
API_KEY=change_me_to_a_strong_random_key
|
||||
|
||||
# ML Inference Service Configuration
|
||||
INFERENCE_API_URL=http://localhost:8001
|
||||
INFERENCE_API_TIMEOUT=30000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue