-
-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy path.env
More file actions
34 lines (30 loc) · 1.11 KB
/
.env
File metadata and controls
34 lines (30 loc) · 1.11 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
FLASK_APP=autoapp.py
FLASK_ENV=development
SMTP_SERVER=smtp.mailtrap.io
EMAIL_SERVER=localhost:5000
SMTP_PORT=2525
DATABASE_URI=sqlite:///openml.db
EMAIL_SENDER=openml@example.org
SMTP_SERVER=email-server
SMTP_PORT=587
SMTP_LOGIN=postmaster
SMTP_PASS=test
SMTP_USE_TLS=True
APP_SECRET_KEY=abcd
JWT_SECRET_KEY=abcd
TESTING=True
URL_API=http://localhost:8000/api/
# CORS Configuration
# For local development - allows localhost on different ports
# For production - add your Vercel URL: https://your-app.vercel.app
CORS_ORIGINS=http://localhost:3000,http://localhost:8000,http://127.0.0.1:3000
# REACT
# React env variables are fixed when building the app - but overwritten when setting up the docker container.
# See docker/entrypoint.sh
# React env variables need to be prefixed with "REACT_APP", otherwise the variables are ignored for
# security reasons.
REACT_APP_URL_SITE_BACKEND=<REACT_APP_URL_SITE_BACKEND>
REACT_APP_URL_API=<REACT_APP_URL_API>
REACT_APP_URL_ELASTICSEARCH=<REACT_APP_URL_ELASTICSEARCH>
REACT_APP_ELASTICSEARCH_VERSION_MAYOR=<REACT_APP_ELASTICSEARCH_VERSION_MAYOR>
REACT_APP_URL_MINIO=<REACT_APP_URL_MINIO>