2.2. Environment VariablesΒΆ

Variable Description Default
PYTHONUNBUFFERED allows for log messages to be immediately dumped witout buffering True
SQL_ENGINE SQL Engine used by Django django.db.backends.mysql
SQL_HOST Hostname for database server db
SQL_PORT Port for database server 3306
DJANGO_DEBUG Debug mode setting for Django True
MYSQL_ROOT_PASSWORD Root password for MYSQL password
MYSQL_DATABASE Default database name for MYSQL esimcloud_db
MYSQL_USER Username for MYSQL Server user
MYSQL_PASSWORD password for MYSQL Server password
MONGO_INITDB_ROOT_USERNAME Username for MongoDB Initial Database user
MONGO_INITDB_ROOT_PASSWORD Password for MongoDB Initial Database password
MONGO_INITDB_DATABASE MongoDB Initial Database name esimcloud_db
TAG_MYSQL MYSQL Docker Image Tag to pull ( Version ) 8.0
TAG_REDIS Redis Docker Image Tag to pull ( Version ) alpine3.11
TAG_MONGO Mongodb Docker Image Tag to pull ( Version ) 4.2.6
GUNICORN_WORKERS Number of Gunicorn workers to spawn per container 5
CELERY_WORKERS Number of Celery workers to spawn per container 5
EDA_PUBLIC_URL public url used to build react frontend files http://localhost/eda
ARDUINO_BASE_HREF public path used to build angular frontend files /arduino/

Note

Please change the default passwords in the .env.prod file to secure your instance against attackers.