-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.env.example
More file actions
28 lines (22 loc) · 910 Bytes
/
.env.example
File metadata and controls
28 lines (22 loc) · 910 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
25
26
27
28
# =============================================================================
# Cheminformatics Microservice — Environment Variables
# =============================================================================
# Copy to .env and fill in values. See .env.development and .env.production
# for ready-to-use templates.
# --- API Authentication ---
# Token for bypassing rate limits (min 32 chars recommended)
# Generate with: python3 -c "import secrets; print(secrets.token_urlsafe(48))"
CMS_INTERNAL_AUTH_TOKEN=
# --- CORS ---
# Comma-separated allowed origins (* = allow all, fine for dev)
ALLOWED_ORIGINS=*
# --- Grafana ---
# REQUIRED for docker-compose — will fail to start without this
GRAFANA_ADMIN_PASSWORD=
# --- Workers ---
WORKERS=2
# --- OCSR ---
# Set to false to skip TensorFlow/DECIMER loading (faster startup)
INCLUDE_OCSR=true
# --- Homepage redirect ---
HOMEPAGE_URL=/latest/docs