-
Notifications
You must be signed in to change notification settings - Fork 4
/
.env.example
35 lines (28 loc) · 1020 Bytes
/
.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
# The .env file is used to populate variables in three different places:
#
# 1. It is automatically loaded into the postgres container as ARGS at build time
# 2. It is automatically loaded into the docker-compose.yml file at build time
# 3. It is automatically loaded into the API as environment variables at runtime
ENV=development
DEBUG=true
# These are shared between the application and the Postgres Docker container
POSTGRES_USER=asheslive
POSTGRES_PASSWORD=securepassword
POSTGRES_DB=asheslive
# These are used by the application
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
# These configure authentication
ACCESS_TOKEN_EXPIRY_HOURS=24
ACCESS_TOKEN_REMEMBER_ME_DAYS=365
# openssl rand -hex 32
SECRET_KEY=
# You can adjust limits for pagination, if you wish
PAGINATION_DEFAULT_LIMIT=30
PAGINATION_MAX_LIMIT=100
# SendGrid email configuration; currently using their service for transactional emails
MAIL_SENDER_ADDRESS=
MAIL_DEBUG_RECIPIENT=
SENDGRID_API_KEY=
SENDGRID_INVITE_TEMPLATE=
SENDGRID_RESET_TEMPLATE=