Environment Setup Backend
Environment Variables Overview
The environment variables are used to configure the backend and frontend services, including database connections and other settings. Below is a summary of the key environment variables used in the Docker deployment.
Variable |
Default |
Description |
|---|---|---|
|
|
Name of database for the Django Backend |
|
|
Hostname of database for the Django Backend |
|
|
Port for database for the Django Backend |
|
|
Username for database for the Django Backend |
|
|
Password for database for the Django Backend |
|
|
Name of MongoDB database |
|
|
Hostname of MongoDB server |
|
|
Port for MongoDB server |
|
|
Username for MongoDB database |
|
|
Password for MongoDB database |
|
|
Logging level for Django backend |
|
|
Secret key for Django application |
|
|
Root password for Database |
|
|
Username for Database |
|
|
Password for Database user |
|
|
Name of database |
|
|
Root username for MongoDB |
|
|
Root password for MongoDB |
|
|
Username for Django superuser noinput |
|
|
Email for Django superuser noinput |
|
|
Password for Django superuser noinput |
Quickstart
Copy the .env.template file in backend to .env and fill in the required environment variables.
Environment Setup Frontend
Environment Variables Overview
The environment variables for the frontend service are used to configure the API endpoint and other settings. Below is a summary of the key environment variables used in the Docker deployment.
Variable |
Default |
Description |
|---|---|---|
|
|
URL of the Django backend API server |
Quickstart
Copy the .env.template file in frontend to .env and fill in the required