-
Notifications
You must be signed in to change notification settings - Fork 2
/
env.sh
20 lines (17 loc) · 1.01 KB
/
env.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export MONGO_INITDB_ROOT_USERNAME="mongoadmin"
export MONGO_INITDB_ROOT_PASSWORD="secret_passowrd_okay"
export MONGODB_CONNECTION_STRING="mongodb://${MONGO_INITDB_ROOT_USERNAME}:${MONGO_INITDB_ROOT_PASSWORD}@mongodb:27017/?authSource=admin&readPreference=primary&retryWrites=true&w=majority&tlsAllowInvalidCertificates=true&ssl=false"
# Any exterior port works, but let's pick 15000 to make it more unique
# and avoid some potential conflicts with other Flask servers on the
# host.
# At the same time, let's keep 5000 for services running inside the
# container to make it more predictible.
export FLASK_RUN_PORT=5000
export EXTERNAL_FLASK_RUN_PORT=15000
export CLOCKWORK_UID=$(id -u)
export CLOCKWORK_GID=$(id -g)
# Those hardcoded values are taken from test_common/fake_data.json.
export clockwork_tools_test_EMAIL="student01@mila.quebec"
export clockwork_tools_test_CLOCKWORK_API_KEY="000aaa01"
export clockwork_tools_EMAIL=${clockwork_tools_test_EMAIL}
export clockwork_tools_API_KEY=${clockwork_tools_test_CLOCKWORK_API_KEY}