-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.sh
35 lines (23 loc) · 857 Bytes
/
env.sh
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
#!/bin/bash
SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}")
LOCAL_ENV_FILE="$SCRIPT_DIR/env.local.sh"
export EZPAARSE_HOST="localhost:59599"
export EZMESURE_URL="https://localhost"
export EZMESURE_USERNAME="ezmesure-admin"
export EZMESURE_PASSWORD="changeme"
export EZUNPAYWALL_URL="https://unpaywall.inist.fr"
export EZUNPAYWALL_APIKEY="demo"
export ELASTIC_URL="https://localhost:9200"
export TIMEZONE="Europe/Paris"
export SMTP_HOST="maildev"
export SMTP_PORT="25"
export NOTIFICATIONS_SENDER="dev-ezpaarse-process@inist.fr"
export NOTIFICATIONS_RECEIVERS="test@test.fr"
export NODE_CONFIG='{ "smtp": { "secure": false, "ignoreTLS": true } }'
export NODE_ENV='development'
export CRON_SCHEDULE="30 1 * * * *"
export RESULTS_DIR_PATH="./results"
export ARCHIVES_DIR_PATH="./archives"
if [[ -f $LOCAL_ENV_FILE ]] ; then
source "$LOCAL_ENV_FILE"
fi