-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy path.env.docker.example
More file actions
63 lines (55 loc) · 1.95 KB
/
.env.docker.example
File metadata and controls
63 lines (55 loc) · 1.95 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
# OpenGRC Docker Environment Variables
# Copy these to your DigitalOcean App Platform environment configuration
# ===========================================
# REQUIRED: Database Configuration (MySQL)
# ===========================================
DB_CONNECTION=mysql
DB_HOST=your-db-host.db.ondigitalocean.com
DB_PORT=25060
DB_DATABASE=opengrc
DB_USERNAME=opengrc_user
DB_PASSWORD=your-secure-password
DB_SSL_MODE=require
# ===========================================
# REQUIRED: Application Configuration
# ===========================================
APP_KEY=base64:YourGeneratedApplicationKeyHere
APP_NAME=OpenGRC
APP_URL=https://your-domain.com
APP_ENV=production
APP_DEBUG=false
# ===========================================
# REQUIRED: Admin User
# ===========================================
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=secure-admin-password
# ===========================================
# OPTIONAL: DigitalOcean Spaces (Recommended)
# ===========================================
DO_BUCKET=your-space-name
DO_REGION=nyc3
DO_ACCESS_KEY_ID=DO00XXXXXXXXXXXX
DO_SECRET_ACCESS_KEY=your-secret-access-key
# ===========================================
# OPTIONAL: SMTP Email Configuration
# ===========================================
SMTP_HOST=email-smtp.us-east-1.amazonaws.com
SMTP_PORT=465
SMTP_USER=AKIAXXXXXXXXXXXXXXXX
SMTP_PASSWORD=your-smtp-password
SMTP_ENCRYPTION=tls
SMTP_FROM=no-reply@example.com
# ===========================================
# OPTIONAL: Storage Lock (Prevent UI Changes)
# ===========================================
STORAGE_LOCK=true
# ===========================================
# OPTIONAL: Custom SSL Certificates
# ===========================================
# If not provided, container uses self-signed cert
# SSL_CERT=-----BEGIN CERTIFICATE-----...
# SSL_KEY=-----BEGIN PRIVATE KEY-----...
# ===========================================
# OPTIONAL: Node Environment
# ===========================================
NODE_ENV=production