-
-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy path.env.dev.example
More file actions
52 lines (41 loc) · 1.33 KB
/
.env.dev.example
File metadata and controls
52 lines (41 loc) · 1.33 KB
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
DEBUG= True
REDIS_HOST=redis
REDIS_PORT=6379
DATABASE_URL=postgis://postgres:admin@postgres:5432/ai
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/0
DJANGO_SECRET_KEY=dev-secret-key-change-in-production
DJANGO_DEBUG=True
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1,api
RAMP_HOME=/ramp
TRAINING_WORKSPACE=/trainings
LOG_PATH=/app/log
OSM_CLIENT_ID=your-osm-client-id
OSM_CLIENT_SECRET=your-osm-client-secret
OSM_URL=https://www.openstreetmap.org
OSM_SCOPE=read_prefs
OSM_LOGIN_REDIRECT_URI=http://127.0.0.1:3500/authenticate/
OSM_SECRET_KEY=dev-osm-secret-key
# Authentication: "legacy" or "hanko"
AUTH_PROVIDER=legacy
# HANKO_API_URL=https://dev.login.hotosm.org
# COOKIE_SECRET=your-cookie-secret
# COOKIE_DOMAIN=.hotosm.org
# COOKIE_SECURE=true
# JWT_AUDIENCE=
# LOGIN_URL=https://dev.login.hotosm.org
# OSM_REDIRECT_URI=http://127.0.0.1:8000/api/v1/auth/osm/callback/
ALLOWED_ORIGINS=http://127.0.0.1:3500
FRONTEND_URL=http://127.0.0.1:3500
EMAIL_HOST=localhost
EMAIL_PORT=1025
EMAIL_HOST_USER=
EMAIL_HOST_PASSWORD=
DEFAULT_FROM_EMAIL=noreply@localhost
EMAIL_USE_TLS=False
ENABLE_FAIR_PREDICTOR=True
## Frontend
VITE_BASE_API_URL="http://localhost:8200/api/v1/"
VITE_FAIR_PREDICTOR_API_URL="http://localhost:8200/api/v1/fairpredictor/predict/"
VITE_AUTH_PROVIDER="legacy"
# VITE_HANKO_URL="https://dev.login.hotosm.org"