-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.env.development
executable file
·118 lines (99 loc) · 3.66 KB
/
.env.development
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# Adresse d'envoi des notifications Mattermost
CHAT_WEBHOOK_URL_GENERAL="https://example.com"
# Adresse d'envoi des notifications Mattermost pour le canal "#general" de betagouv
CHAT_WEBHOOK_URL_SECRETARIAT="https://example.com"
# Adresse d'envoi des notifications Mattermost pour le canal "#general" de la DINUM
CHAT_WEBHOOK_URL_DINUM="https://example.com"
# Adresse d'envoi des notifications Mattermost pour le canal "#general" du gip inclusion
CHAT_WEBHOOK_URL_GIP="https://example.com"
# Connection URI PostgreSQL
DATABASE_URL=postgres://secretariat:[email protected]:5432/secretariat
NEXT_TELEMETRY_DISABLED=1
# SMTP configuration
MAIL_USER=mailuser
MAIL_PASS=mailpassword
MAIL_HOST=127.0.0.1
MAIL_PORT=11025
MAIL_IGNORE_TLS="true"
MAIL_SENDER="addresse@localhost"
SECURE="false"
HOSTNAME=localhost
CHAT_WEBHOOK_URL_GIP=xxx
MAILING_LIST_NEWSLETTER=false
# Clé pour générer un id pour les newsletters, important en prod
NEWSLETTER_HASH_SECRET="xxx"
# 32 caractères, à changer en prod
SESSION_SECRET="SecretThatShouldChangedInProduction"
# Pour récupérer les informations email
OVH_APP_KEY=xxx
OVH_APP_SECRET=xxx
OVH_CONSUMER_KEY=xxx
SECRETARIAT_DOMAIN=betagouv.ovh # domaine à utiliser
# Sentry
NEXT_PUBLIC_SENTRY_DSN=
SENTRY_DSN=
SENTRY_ENVIRONMENT=localdev
# Matomo
NEXT_PUBLIC_MATOMO_URL=
NEXT_PUBLIC_MATOMO_SITE_ID=
# REDIS for queue management
REDIS_URL=redis://:localpwd@localhost:6379
REDIS_PORT=6379
REDIS_HOST=localhost
REDIS_PASSWORD=localpwd
REDIS_EVENT_BUS_STREAM_NAME=eventbus-local
# CRON: To add/remove users from organisation
GITHUB_TOKEN=xxx
GITHUB_ORGANIZATION_NAME=
# Le Personal Access Token du compte Github utilisé pour gérer les membres de la communauté
GITHUB_ORG_ADMIN_TOKEN=
# Authentification
NEXTAUTH_URL="http://127.0.0.1:8100"
# Change in Prod
NEXTAUTH_SECRET="xxx"
# https://authjs.dev/reference/adapter/pg
NEXTAUTH_DATABASE_URL=postgres://secretariat:[email protected]:5432/nextauth
### AirTable to get formations data
AIRTABLE_API_KEY=xxx
AIRTABLE_FORMATION_BASE_ID=xxx
# Mattermost
# ID de la team `Communauté`
MATTERMOST_TEAM_ID=
# ID secret de l'invitation qui permet de se créer un compte mattermost
MATTERMOST_INVITE_ID=
# Token du bot mattermost qui permet de faire les requêtes à l'api
MATTERMOST_BOT_TOKEN=
# prod features
FEATURE_SHOULD_SEND_MESSAGE_TO_AUTHOR="true"
FEATURE_ADD_GITHUB_USER_TO_ORGANIZATION=true
FEATURE_ADD_USER_TO_COMMUNITY_ON_MATTERMOST=true
FEATURE_ALWAYS_SEND_STARTUP_PHASE_CHANGE_EMAIL=true
FEATURE_APPLY_CREATE_REDIRECTION_EMAIL=true
FEATURE_CREATE_MARRAINAGE=false
FEATURE_CREATE_USER_ON_MATTERMOST=true
FEATURE_DELETE_OVH_EMAIL_ACCOUNTS=true
FEATURE_DELETE_REDIRECTIONS_AFTER_QUITTING=true
FEATURE_DELETE_SECONDARY_EMAIL=false
FEATURE_NEWSLETTER=true
FEATURE_ON_USER_CONTRACT_END=true
FEATURE_PUBLISH_JOBS_TO_MATTERMOST=true
FEATURE_PUBLISH_WTTJ_JOBS_TO_MATTERMOST=true
FEATURE_REINIT_PASSWORD_EMAIL=true
FEATURE_REMINDER_TEAM_IF_PENDING_PR_ON_AUTHOR_FILE=true
FEATURE_REMIND_USER_WITH_PENDING_PULL_REQUEST_ON_AUTHOR_FILE=true
FEATURE_REMOVE_EMAILS_FROM_MAILING_LIST=true
FEATURE_REMOVE_GITHUB_USER_FROM_ORGANIZATION=true
FEATURE_REMOVE_USER_FROM_TEAM_ADD_TO_ALUMNI=true
FEATURE_SEND_J1_EMAIL=true
FEATURE_SEND_J30_EMAIL=true
FEATURE_SEND_MATTERMOST_MESSAGE=true
FEATURE_SEND_MESSAGE_TO_ACTIVE_USERS_WITHOUT_SECONDARY_EMAIL=true
FEATURE_SEND_MESSAGE_TO_TEAM_FOR_JOB_OPENED_FOR_A_LONG_TIME=true
FEATURE_SET_EMAIL_EXPIRED=true
FEATURE_SUBSCRIBE_TO_INCUBATEUR_MAILING_LIST=true
FEATURE_SYNC_BETAGOUV_USER_API=true
FEATURE_UNSUBSCRIBE_FROM_INCUBATEUR_MAILING_LIST=true
FEATURE_USE_NEW_MARRAINAGE=false
# Protected API
PROTECTED_API_KEYS=xxx,yyy
PROTECTED_API_ALLOWED_ORIGINS=gouv.fr,ademe.fr # will allow domains and subdomains