-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.env-template
38 lines (34 loc) · 1.33 KB
/
.env-template
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
# The domain the aggregator will be deployed to (do not include https here)
DOMAIN=localhost
# Configuration for postgres DB.
POSTGRES_SERVER=db
POSTGRES_USER=postgres
POSTGRES_PASSWORD=3b7c15496ef20f1a858eecfe17e6d9147f70a13d4864d4d0b07323c72a845474
POSTGRES_DB=app
# Configuration for backend.
BACKEND_CORS_ORIGINS=["https://localhost"]
SECRET_KEY=1f034e80442f37b6cfe1e9b442ef431b73fc4b727bf94bd93ed963adb2dec58a
FIRST_SUPERUSER_PASSWORD=admin
SMTP_TLS=True
SMTP_PORT=587
SMTP_HOST=
SMTP_USER=
SMTP_PASSWORD=
USERS_OPEN_REGISTRATION=False
# Configure Email alerts to admins
AGGREGATOR_ALERT_NEW_FARMS=false
AGGREGATOR_ALERT_ALL_ERRORS=false
AGGREGATOR_ALERT_PING_FARMS_ERRORS=True
# General Aggregator Configuration
AGGREGATOR_NAME=farmOS-aggregator
FARM_ACTIVE_AFTER_REGISTRATION=true
AGGREGATOR_OAUTH_INSECURE_TRANSPORT=false
AGGREGATOR_OPEN_FARM_REGISTRATION=true
AGGREGATOR_INVITE_FARM_REGISTRATION=true
AGGREGATOR_OAUTH_CLIENT_ID=farmos_api_client
AGGREGATOR_OAUTH_CLIENT_SECRET=
AGGREGATOR_OAUTH_SCOPES=[{"name":"farm_info","label":"farmOS Info","description":"Allow access to basic farm info."},{"name":"farm_metrics","label":"farmOS Metrics","description":"Allow access to basic farm metrics."}]
AGGREGATOR_OAUTH_DEFAULT_SCOPES=["farm_info"]
AGGREGATOR_OAUTH_REQUIRED_SCOPES=[]