forked from tla/stemmaweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.dev.example
41 lines (31 loc) · 1.12 KB
/
.env.dev.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
# Stemmarest service
STEMMAREST_HOST=stemmarest
STEMMAREST_PORT=8080
STEMMAREST_ENDPOINT=http://stemmarest:8080/stemmarest
# Stemweb service
STEMWEB_HOST=stemweb
STEMWEB_PORT=8000
STEMWEB_ENDPOINT=http://stemweb:8000
# Relative path with the reverse proxy as the root
STEMMAWEB_MIDDLEWARE_URL=/stemmaweb/requests
GUNICORN_WORKERS=1
GUNICORN_BIND=0.0.0.0:3000
# Generated via `python -c 'import secrets; print(secrets.token_hex())'`
SECRET_KEY=0738f808b38c82e9c4c16558002aecc1cd1f6480dc5200ad10ca17f7ec41f636
# Get these from the Google API console
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Get theese from the detail page of your GitHub OAuth app
# Refer to https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
STEMMAWEB_FRONTEND_URL=http://localhost:8888/stemmaweb/
# Get these from the reCAPTCHA Admin console
RECAPTCHA_SITE_KEY=
RECAPTCHA_SECRET_KEY=
LOG_LEVEL=DEBUG
LOGFILE=stemmaweb_middleware.log
LOG_BACKTRACE=True
# Cypress vars
CY_STEMMAWEB_FRONTEND_URL=http://reverse-proxy/stemmaweb
CY_STEMMAWEB_MIDDLEWARE_URL=http://reverse-proxy/stemmaweb/requests