Essentials
Env Syntax
Environment Variables:
Make sure to set the following environment variables in your Docker Compose file:
conn_string
: This is the MySQL connection string required for EF Core for the main APIs.Jwt_Exp_Dur
: This is the expiration duration for the JWT token in minutes.HANG_FIRE_CONN_STRING
: This is the MySQL connection string required for EF Core for the Hangfire service.Hangfire_User
: This is the username for accessing the Hangfire dashboard.Hangfire_Password
: This is the password for accessing the Hangfire dashboard.App_Url
: This is the domain name for your application.Image_url
: This is the Docker image registry for the main application.
Ensure that you replace placeholders with actual values specific to your deployment environment.