Customize your deployment by setting the following environment variables in your .env
file.
Variable | Description | Example |
---|---|---|
MYSQL_EXPOSED_PORT | Port which exposes the mysql docker container to the host system. | 3306 (default mysql port) |
MYSQL_ROOT_PASSWORD | The MySQL root password set during the container's initial startup. To change it, the container must be removed and reinitialized. |
|
MYSQL_DATABASE | The database schema used for the instance | ScheduleGenius |
MYSQL_USER | The database user. Should not be the same as the db root user |
|
MYSQL_PASSWORD | The password for you mysql user |
|
NGINX_EXPOSED_PORT | The port exposed by the Nginx container for your reverse proxy to route to. | 800 |
DOMAIN_URL | The url that is used to access your instance. | https://scheduler.example.com |
JWT_SECRET | Secret key for signing authentication tokens. | supersecretkey |
Duplicate the .env.dist
file and rename to .env
and edit it based on your deployment needs.