-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy path.env.example
More file actions
102 lines (88 loc) · 3.65 KB
/
.env.example
File metadata and controls
102 lines (88 loc) · 3.65 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# =============================================================================
# OCL API2 - Environment Variables
# Copy this file to .env and adjust the values for your environment.
# =============================================================================
# -----------------------------------------------------------------------------
# General
# -----------------------------------------------------------------------------
ENVIRONMENT=development
DEBUG=TRUE
# Disables the lookup of language maps on startup (speeds up dev boot)
NO_LM=TRUE
SERVICE_NAME=oclapi2
# -----------------------------------------------------------------------------
# API
# -----------------------------------------------------------------------------
API_BASE_URL=http://localhost:8000
API_INTERNAL_BASE_URL=http://api:8000
API_HOST=0.0.0.0
API_PORT=8000
API_SUPERUSER_PASSWORD=Root123
API_SUPERUSER_TOKEN=891b4b17feab99f3ff7e5b5d04ccc5da7aa96da6
SECRET_KEY=
# -----------------------------------------------------------------------------
# Database (PostgreSQL)
# -----------------------------------------------------------------------------
DB=postgres
DB_HOST=db
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=Postgres123
# -----------------------------------------------------------------------------
# Redis
# -----------------------------------------------------------------------------
REDIS_HOST=redis
REDIS_PORT=6379
# -----------------------------------------------------------------------------
# Elasticsearch
# -----------------------------------------------------------------------------
ES_HOSTS=es:9200
ES_SCHEME=http
# -----------------------------------------------------------------------------
# Export Storage
# Supported backends:
# core.services.storages.cloud.aws.S3 (AWS S3)
# core.services.storages.cloud.minio.MinIO (MinIO or any S3-compatible, e.g. RustFS)
# core.services.storages.cloud.azure.BlobStorage
# -----------------------------------------------------------------------------
EXPORT_SERVICE=core.services.storages.cloud.minio.MinIO
# MinIO / RustFS (S3-compatible) — used when EXPORT_SERVICE=MinIO
MINIO_PORT=9090
MINIO_ENDPOINT=rustfs:9000
MINIO_EXTERNAL_ENDPOINT=localhost:${MINIO_PORT:-9090}
MINIO_ACCESS_KEY=rustfsadmin
MINIO_SECRET_KEY=rustfsadmin
MINIO_BUCKET_NAME=oclapi2-dev
MINIO_SECURE=false
# AWS S3 — used when EXPORT_SERVICE=S3
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_STORAGE_BUCKET_NAME=oclapi2-dev
AWS_REGION_NAME=us-east-2
# Azure Blob Storage — used when EXPORT_SERVICE=BlobStorage
AZURE_STORAGE_ACCOUNT_NAME=
AZURE_STORAGE_CONTAINER_NAME=
AZURE_STORAGE_CONNECTION_STRING=
# -----------------------------------------------------------------------------
# Flower (Celery monitoring UI)
# -----------------------------------------------------------------------------
FLOWER_USER=root
FLOWER_PASSWORD=Root123
# -----------------------------------------------------------------------------
# FHIR Validator
# -----------------------------------------------------------------------------
FHIR_VALIDATOR_URL=http://fhir_validator:3500
# -----------------------------------------------------------------------------
# Error tracking (optional)
# -----------------------------------------------------------------------------
SENTRY_DSN_KEY=
ERRBIT_URL=
ERRBIT_KEY=
# -----------------------------------------------------------------------------
# Email (optional)
# -----------------------------------------------------------------------------
EMAIL_NOREPLY_PASSWORD=
# -----------------------------------------------------------------------------
# Throttling (optional)
# -----------------------------------------------------------------------------
ENABLE_THROTTLING=