-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathsample.env
More file actions
73 lines (64 loc) · 2.28 KB
/
sample.env
File metadata and controls
73 lines (64 loc) · 2.28 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
# CleanAspire Debug Environment Configuration
# Copy this file to .env and update the values as needed
# ======================
# Application Settings
# ======================
APP_NAME=CleanAspire Debug
APP_VERSION=v0.0.1-debug
ALLOWED_HOSTS=*
CERT_PASSWORD=CREDENTIAL_PLACEHOLDER
# ======================
# CORS and Client URLs
# ======================
CORS_ORIGINS=http://localhost:8080,https://localhost:8443,http://localhost:8081,https://localhost:8444,http://localhost:8082,https://localhost:8445
CLIENT_BASE_URL=http://localhost:8082
SERVICE_BASE_URL=http://localhost:8080
# ======================
# Database Configuration
# ======================
# SQLite (default for debug)
DB_PROVIDER=sqlite
DB_CONNECTION_STRING=Data Source=/app/data/CleanAspireDb.db
# ======================
# Email Configuration (SendGrid)
# ======================
SENDGRID_API_KEY=your-sendgrid-api-key-here
SENDGRID_FROM_EMAIL=noreply@yourdomain.com
# ======================
# Authentication Providers
# ======================
# Google OAuth
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
# Microsoft OAuth
MICROSOFT_CLIENT_ID=your-microsoft-client-id
MICROSOFT_CLIENT_SECRET=your-microsoft-client-secret
MICROSOFT_TENANT_ID=your-microsoft-tenant-id
# ======================
# Push Notification Service (Webpushr)
# ======================
WEBPUSHR_TOKEN=your-webpushr-token
WEBPUSHR_API_KEY=your-webpushr-api-key
WEBPUSHR_PUBLIC_KEY=your-webpushr-public-key
# ======================
# File Storage (MinIO)
# ======================
MINIO_ENDPOINT=http://minio:9000
MINIO_ACCESS_KEY=cleanaspire
MINIO_SECRET_KEY=cleanaspire123
MINIO_BUCKET_NAME=cleanaspire-files
MINIO_ROOT_USER=cleanaspire
MINIO_ROOT_PASSWORD=cleanaspire123
# ======================
# Development Notes
# ======================
# - This configuration is for development/debug purposes only
# - Change all default passwords and keys before production use
# - Update CORS origins to match your actual domains
# - Configure proper SSL certificates for production
#
# Service URLs:
# - API: http://localhost:8080 (HTTP) / https://localhost:8443 (HTTPS)
# - WebApp: http://localhost:8081 (HTTP) / https://localhost:8444 (HTTPS)
# - ClientApp: http://localhost:8082 (HTTP) / https://localhost:8445 (HTTPS)
# - MinIO Console: http://localhost:9001