forked from DIGI-UW/OpenELIS-Global-2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (35 loc) · 1.63 KB
/
.env.example
File metadata and controls
41 lines (35 loc) · 1.63 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
# =============================================================================
# OpenELIS Global 2 - Environment Configuration Template
# =============================================================================
# Copy this file to .env and customize for your environment:
# cp .env.example .env
#
# Docker Compose loads .env from the project root for ${VAR} substitution in
# build.docker-compose.yml and dev.docker-compose.yml. CI copies this file to
# .env before running docker compose (single source of truth).
#
# IMPORTANT: .env contains secrets and should NEVER be committed to git.
# =============================================================================
# --- Database Credentials ---
OE_DB_PASSWORD=clinlims
# --- Admin Credentials (DB superuser; CI uses superuser) ---
ADMIN_PASSWORD=superuser
# --- SSL/TLS Configuration ---
SSL_TRUSTSTORE_PATH=/etc/openelis-global/truststore
SSL_TRUSTSTORE_PASSWORD=tspass
SSL_KEYSTORE_PATH=/etc/openelis-global/keystore
SSL_KEYSTORE_PASSWORD=kspass
# --- Let's Encrypt / Domain Configuration ---
# Domain for SSL certificate (used by nginx and certbot)
# Examples:
# localhost - Local development (self-signed certs)
# analyzers.openelis-global.org - Production subdomain
# demo.example.com - Demo server
LETSENCRYPT_DOMAIN=localhost
# Email for Let's Encrypt certificate notifications (required for real certs)
LETSENCRYPT_EMAIL=admin@example.com
# --- E2E Test Credentials (Playwright) ---
# Required for: npm run pw:test (Playwright auth setup)
# Use the admin user created by e2e-foundational-data.sql
TEST_USER=admin
TEST_PASS=adminADMIN!