Appendix 1. NoPass™ server environment variables
The application will not start without required variables. The variables with mask EmailSettings are required to configure sending mail to your administrator.
|
Environment variable |
Value (example) |
Description |
|
Required variables |
||
|
MAPD_DatabaseSettings__ DbConnectionType |
MySQL |
Type of database. You can use MySQL, Postgre, MsSql |
|
MAPD_DatabaseSettings__ ConnectionString OR MAPD_DatabaseSettings__ Server=nopass_db MAPD_DatabaseSettings__ Port=3306 MAPD_DatabaseSettings__ DatabaseName=nopass-server MAPD_DatabaseSettings__ UserId=root MAPD_DatabaseSettings__ Password= nopassroot! |
nopass _db;Database= nopass -server;User Id=root;password= nopassroot!; |
Database connection string. You can also use a split database connection string, see below. Supported databases: MySQL, Postgre, MsSQL. |
|
MAPD_ServerUrl |
<https://nopass. example.com/> |
URL of the NoPass™ application |
|
Optional global variables |
||
|
MAPD_EmailSettings__ Host |
smtp.gmail.com |
URL of an SMTP server |
|
MAPD_EmailSettings__ Port |
587 |
SMTP port |
|
MAPD_EmailSettings__ EnableSSL |
true |
enable or disable SSL |
|
MAPD_EmailSettings__ EmailFrom |
client.support@gmail.com |
mail sender |
|
MAPD_EmailSettings__ UserName |
login@gmail.com |
login for mailbox |
|
MAPD_EmailSettings__ Password |
pa$$w0rd |
password for mailbox |
|
MAPD_EmailSettings__ |
admin.nopass@gmail.com |
recipient address |
|
MAPD_EmailSettings__ CC |
sysadmins@gmail.com |
copy address |
|
MAPD_EmailSettings__ Subject |
Report issue |
email subject |
|
Optional variables for RADIUS |
||
|
MAPD_RadiusProxySettings__ AdminId |
radiusadmin |
Default login for RADIUS administrator |
|
MAPD_RadiusProxySettings__ AdminPwd |
radiuspassword |
Default password for RADIUS administrator |