-
Notifications
You must be signed in to change notification settings - Fork 4
/
.env.example
51 lines (40 loc) · 1.49 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
42
43
44
45
46
47
48
49
50
51
##################################################
# MailChimp
MAILCHIMP_API_KEY=""
MAILCHIMP_NEWSLETTER_LIST_ID=""
MAILCHIMP_SERVER=""
##################################################
# Postgre
# Only used for test & development purpose and in case of prod deployment via docker-compose
POSTGRE_DATABASE="metiers_numeriques"
POSTGRE_USERNAME="test_db_user"
POSTGRE_PASSWORD="test_db_password"
# Only used for development purpose
POSTGRE_PORT="5432"
##################################################
# Redis
# Only used for development purpose
REDIS_PORT="6379"
##################################################
# Sentry
# https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-environment-variables
SENTRY_AUTH_TOKEN=""
SENTRY_ENVIRONMENT="development"
SENTRY_PROJECT=""
SENTRY_ORG=""
##################################################
# Custom
# Used to bypass throttling while fetching production API public operations
API_SECRET="test"
PROD_API_SECRET=""
DATABASE_URL="postgresql://test_db_user:test_db_password@localhost:5432/metiers_numeriques?schema=public"
# Used to set API Access-Control-Allow-Origin header
DOMAIN_URL="http://localhost:3000"
NODE_ENV="development"
REDIS_URL="redis://localhost:6379"
# BE CAREFUL! This will dump ALL DATA in the database and reseed it with some production + dummy data if set to "true"
# WITH_DATA_SEED="true"
##################################################
# Next Auth
NEXTAUTH_URL=http://localhost:3000/api/auth
NEXTAUTH_SECRET=abcd1234