-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
36 lines (31 loc) · 1.91 KB
/
Copy path.env.example
File metadata and controls
36 lines (31 loc) · 1.91 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
# Universal Healthcare — docker-compose environment
#
# Copy to .env and edit. JWT_SECRET is the only required var.
# All other vars have defaults in docker-compose.yml.
# ── Required ────────────────────────────────────────────────────────────────
JWT_SECRET=replace-with-a-long-random-secret
# ── Database ────────────────────────────────────────────────────────────────
# Only used when --profile postgres is active. For --profile sqlite the api
# falls back to DATABASE_URL=file:/data/dev.db automatically.
POSTGRES_USER=uhdn
POSTGRES_PASSWORD=uhdn
POSTGRES_DB=uhdn
API_DATABASE_URL=postgresql://uhdn:uhdn@postgres:5432/uhdn
# ── MinIO (S3-compatible local storage) ────────────────────────────────────
MINIO_ROOT_USER=minioadmin
MINIO_ROOT_PASSWORD=minioadmin
AWS_S3_BUCKET=avatars
AWS_S3_ENDPOINT=http://minio:9000
AWS_ACCESS_KEY_ID=minioadmin
AWS_SECRET_ACCESS_KEY=minioadmin
AWS_REGION=us-east-1
# ── Web app ────────────────────────────────────────────────────────────────
CORS_ORIGINS=http://localhost:3000
APP_URL=http://localhost:3000
EMAIL_FROM=noreply@universal-healthcare.local
# ── Sentry (optional) ──────────────────────────────────────────────────────
# Leave SENTRY_DSN empty to disable Sentry entirely (no-op in dev).
# SENTRY_DSN=https://<key>@<org>.ingest.sentry.io/<project>
SENTRY_DSN=
SENTRY_ENVIRONMENT=docker
SENTRY_TRACES_SAMPLE_RATE=0.1