-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.docker
More file actions
24 lines (21 loc) · 1015 Bytes
/
.env.docker
File metadata and controls
24 lines (21 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Docker Development Environment Variables
#
# SETUP INSTRUCTIONS:
# 1. Copy this file to the backend directory: cp .env.docker backend/.env
# 2. Replace all placeholder values (surrounded by < >) with your actual values
# 3. Run: docker-compose up -d
#
# This file is pre-configured for Docker Compose networking
# Azure OpenAI Configuration (Required - Replace with your values)
AZURE_OPENAI_API_KEY=<your_azure_openai_api_key>
AZURE_OPENAI_ENDPOINT=<https://your-resource.openai.azure.com/>
AZURE_OPENAI_API_VERSION=2023-12-01-preview
AZURE_OPENAI_DEPLOYMENT_NAME=<gpt-4>
AZURE_OPENAI_EMBEDDING_DEPLOYMENT_NAME=<text-embedding-ada-002>
# Database Configuration (Pre-configured for Docker - DO NOT CHANGE)
DATABASE_URL=postgresql+asyncpg://secondbrain:secondbrain_password@postgres:5432/secondbrain
POSTGRES_USER=secondbrain
POSTGRES_PASSWORD=secondbrain_password
POSTGRES_DB=secondbrain
# CORS Configuration (Pre-configured for Docker - DO NOT CHANGE)
CORS_ORIGINS=http://localhost:5173,http://localhost:3000