-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.env.example
41 lines (32 loc) · 1.45 KB
/
.env.example
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
# Connect to MySQL Docker container locally
# NOTE: this value is also mirrored in dev-secrets/DATABASE_URL.
# We set it here for Prisma scripts to work, which expect it
# in the env, but at runtime we read it as a secret in docker swarm.
DATABASE_URL="mysql://starchart:starchart_password@127.0.0.1:3306/starchart"
# Connect to Redis container locally
REDIS_URL=redis://localhost:6379
# Let's encrypt directory URL (the server we request the cert from)
# Staging: 'https://acme-staging-v02.api.letsencrypt.org/directory'
# Production 'https://acme-v02.api.letsencrypt.org/directory'
# Local development / testing docker container 'https://127.0.0.1:14000/dir'
LETS_ENCRYPT_DIRECTORY_URL="https://127.0.0.1:14000/dir"
# https://letsencrypt.org/docs/expiration-emails/
LETS_ENCRYPT_ACCOUNT_EMAIL="nx@senecacollege.ca"
PORT=8080
# One of: trace, debug, info, warn, error, fatal, silent
LOG_LEVEL=debug
# Notifications Email Config
NOTIFICATIONS_EMAIL_USER="no-reply@senecacollege.ca"
SMTP_PORT=1025
# SSO Config
# NOTE: we don't use localhost here due to DNS issues between Docker and host
APP_URL=http://host.docker.internal:8080
# The SimpleSAML IDP's XML metadata
SAML_IDP_METADATA_PATH=config/idp-metadata-dev.xml
# Background jobs
# 24 * 60 * 60 = 86400 (24 hours in seconds)
EXPIRATION_REPEAT_FREQUENCY_S=86400
# 7 * 24 * 60 * 60 = 604800 (7 days in seconds)
JOB_REMOVAL_FREQUENCY_S=604800
# Limit the maximum number of DNS records per user
USER_DNS_RECORD_LIMIT=20