-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example
More file actions
75 lines (61 loc) · 2.21 KB
/
env.example
File metadata and controls
75 lines (61 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Logging
API_LOG_LEVEL=info
DBINIT_LOG_LEVEL=info
SEED_LOG_LEVEL=info
ENTITY_LINKAGE_LOG_LEVEL=info
STITCH_LLM_LOG_LEVEL=info
# ------------------------------
# API
AUTH_DISABLED=true
ENVIRONMENT=DevelopmentDocker
# API Auth
# AUTH_DISABLED=false
# AUTH_ISSUER="https://<domain>.<region>.auth0.com/"
# AUTH_AUDIENCE="https://<audience>"
# AUTH_JWKS_URI="https://<domain>.<region>.auth0.com/.well-known/jwks.json"
# ------------------------------
# DB Connection details for API:
POSTGRES_HOST=db
POSTGRES_PORT=5432
POSTGRES_DB=stitch
POSTGRES_USER=stitch_app
POSTGRES_PASSWORD=SuperSecureApp1!
# DB bootstrap / roles
POSTGRES_SUPERUSER=postgres
POSTGRES_SUPERUSER_PASSWORD=postgres
STITCH_APP_PASSWORD=SuperSecureApp1!
STITCH_MIGRATOR_PASSWORD=SuperSecureMigrator1!
STITCH_DB_SCHEMA_MODE=if-empty
# ------------------------------
# Frontend
# Browser runtime config is loaded from deployments/stitch-frontend/public/config.json.
# Preview/prod deployments should write that file at deploy time.
# Only compile-time frontend flags belong in env files.
VITE_USE_MOCK_DATA=false
# ------------------------------
# Seed
SEED_API_BASE_URL=http://api:8000/api/v1
SEED_FAKER_POST_COUNT=0
# Local `AUTH_DISABLED=true` compose path still needs a non-empty token value.
STITCH_CLIENT_PRIVILEGED_BEARER_TOKEN=dev-placeholder-token
# # local api-dev
# SEED_API_BASE_URL=http://host.docker.internal:8000/api/v1
# ------------------------------
# Entity Linkage
ENTITY_LINKAGE_FRONTEND_ORIGIN_URL=http://localhost:3000
ENTITY_LINKAGE_API_BASE_URL=http://api:8000/api/v1
# # local api-dev
# ENTITY_LINKAGE_API_BASE_URL=http://host.docker.internal:8000/api/v1
# ------------------------------
# Stitch LLM
STITCH_LLM_FRONTEND_ORIGIN_URL=http://localhost:3000
STITCH_LLM_API_BASE_URL=http://api:8000/api/v1
STITCH_CLIENT_LLM_BEARER_TOKEN=dev-placeholder-token
STITCH_LLM_AZURE_OPENAI_BASE_URL=https://example.openai.azure.com/openai/v1
STITCH_LLM_AZURE_OPENAI_API_KEY=
STITCH_LLM_AZURE_OPENAI_MODEL=example-model-deployment
# Internal dev example:
# STITCH_LLM_AZURE_OPENAI_BASE_URL=https://stitch-foundry-dev.openai.azure.com/openai/v1
# STITCH_LLM_AZURE_OPENAI_MODEL=gpt-5.1-chat
# # local api-dev
# STITCH_LLM_API_BASE_URL=http://host.docker.internal:8000/api/v1