WikiLerni/example.env

27 lines
1008 B
Bash

# COMPLÉTER LES VARIABLES D'ENVIRONNEMENT CI-DESSOUS, SUPPRIMER TOUTES LES LIGNES DE COMMENTAIRES SANS LAISSER D'ESPACES. PUIS ENREGISTRER LE FICHIER : .env
# development/production ?
NODE_ENV=
# DATABASE LOGIN DETAILS :
DB_HOST=
DB_USER=
DB_PASS=
DB_NAME=
# INFORMATION FOR CONNECTING TO THE STMP SERVER(S). IF THERE ARE SEVERAL, SEPARATE THE INFORMATION WITH A COMMA WITHOUT SPACES.
SMTP_NAMES=
SMTP_HOSTS=
SMTP_PORTS=
SMTP_SECURES=
SMTP_LOGINS=
SMTP_PASSWORDS=
# AN INTEGER NUMBER USED FOR PASSWORD ENCRYPTION (see : https://www.npmjs.com/package/bcrypt) :
BCRYPT_SALT_ROUNDS=
# STRING USED BY THE CONNECTION TOKENS (see : https://www.npmjs.com/package/jsonwebtoken) :
TOKEN_PRIVATE_KEY=
# STRING USED BY THE CRONJOBS TOKENS :
CRON_TOKEN=
# NUMBER OF LOGIN ERRORS BEFORE THE USER IS BLOCKED :
MAX_LOGIN_FAILS=
# TIME DURING WHICH THE USER CAN NO LONGER LOG IN :
LOGIN_FAIL_TIME_IN_MINUTES=Time during which the user can no longer log in.
# ONLY USEFUL IF YOU USE THE WEBPORTAGE PAYMENT SOLUTION :
MD5_WP=