-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.dist
39 lines (31 loc) · 1.18 KB
/
.env.dist
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
DATAPATH="/var/www/html/data"
HOSTNAME=""
MYSQL_HOSTNAME="127.0.0.1"
MYSQL_DATABASE="glued"
MYSQL_USERNAME="glued"
MYSQL_PASSWORD="glued-pw"
SMTP_HOST="mail.example.com"
SMTP_USER="[email protected]"
SMTP_PASS="pass"
SMTP_FROM="FROM TEXT"
GEOIP=""
IDENTITY="id.example.com"
IDENTITY_REALM="my-glued-realm"
IDENTITY_ADMIN_ID="admin-cli"
IDENTITY_ADMIN_USER="user"
IDENTITY_ADMIN_PASS="pass"
IDENTITY_CONFIDENTIAL_ID="oidc-confidential"
IDENTITY_CONFIDENTIAL_SECRET="some-secret"
IDENTITY_PUBLIC_ID="oidc-public"
# REACT
REACT_APP_ENDPOINT="https://${HOSTNAME}"
REACT_APP_AUTH_TOKEN_ENDPOINT="https://${IDENTITY}/auth/realms/${IDENTITY_REALM}/protocol/openid-connect/token"
REACT_APP_AUTH_ENDPOINT="https://${IDENTITY}/auth/realms/${IDENTITY_REALM}/protocol/openid-connect/auth"
REACT_APP_AUTH_ENDSESSION_ENDPOINT="https://${IDENTITY}/auth/realms/${IDENTITY_REALM}/protocol/openid-connect/logout"
REACT_APP_AUTH_CLIENT_ID="${IDENTITY_PUBLIC_ID}"
CONFIG_NAME="dev"
###
### Generated stuff
###
DATABASE_URL="mysql://${MYSQL_USERNAME}:${MYSQL_PASSWORD}@${MYSQL_HOSTNAME}:3306/${MYSQL_DATABASE}"
GLUED_PROD=1 # this has no meaning here. Will only work when set from environment (disables loading of this file)