|
4 | 4 | ## Parameters: |
5 | 5 | The following table lists all the default Enigma configuration parameters and also explains the usage: |
6 | 6 |
|
7 | | -Parameter name | Default | Description |
8 | | ---- | --- | --- |
9 | | -django_setup.SECRET_KEY | "" (Empty string) | `String` Set the DJANGO setup secret key. This value should be kept secret. |
10 | | -django_setup.DEBUG | True (dev mode only) | `Boolean` User authorised to view details of all users. <br> **Note: DEBUG should be set to `False` in production.** |
11 | | -django_setup.ALLOWED_HOSTS | [] (Empty list) | `Array` User authorised to view access of all users. <br> If DEBUG is False, you also need to properly set the ALLOWED_HOSTS setting. Failing to do so will result in all requests being returned as “Bad Request (400)” |
12 | | -sso.googleapi.SOCIAL_AUTH_GOOGLE_OAUTH2_KEY | "" (Empty string) | `String` Google OAuth 2.0 client ID. Obtain OAuth 2.0 credentials from the Google API Console. |
13 | | -sso.googleapi.SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET | "" (Empty string) | `String` Google OAuth 2.0 client secret. Obtain OAuth 2.0 credentials from the Google API Console. |
14 | | -database.engine | sqlite3 | `String` The database backend to use. Enigma has support for **mysql** and **sqlite3** |
15 | | -database.dbname | "" (Empty string) | `String` The name of the database to use. *Not used with SQLite.* |
16 | | -database.username | "" (Empty string) | `String` The username to use when connecting to the database. *Not used with SQLite.* |
17 | | -database.password | "" (Empty string) | `String` The password to use when connecting to the database. *Not used with SQLite.* |
18 | | -database.host | "" (Empty string) | `String` The host to use when connecting to the database. *Not used with SQLite.* |
19 | | -database.port | | `Integer` The port to use when connecting to the database. *Not used with SQLite.* |
20 | | -access_modules.git_urls | ["https://github.com/browserstack/enigma-access-modules.git"] (Enigma's Access Module Repository)| `Array` List of Git URLs of access modules, these URLs are fed to the cloning script to pull the modules into the running container. |
21 | | -access_modules.RETRY_LIMIT | 5 | `Integer` Maximum number of tries to clone the access modules repository |
22 | | -enigmaGroup.MAIL_APPROVER_GROUPS | [] (Empty list) | `Array` List of approvers Email for managing groups. |
23 | | -email.access-approve | "" (Empty string) | `String` Admin access approver's email address |
24 | | -email.EMAIL_HOST | "" (Empty string) | `String` The host to use for sending email. |
25 | | -email.EMAIL_PORT | "" (Empty string) | `String` Port to use for the SMTP server |
26 | | -email.EMAIL_HOST_USER | "" (Empty string) | `String` Username to use for the SMTP server |
27 | | -email.EMAIL_HOST_PASSWORD | "" (Empty string) | `String` Password to use for the SMTP server |
28 | | -email.EMAIL_USE_TLS | True | `Boolean` Whether to use a TLS (secure) connection when talking to the SMTP server. |
29 | | -email.EMAIL_USE_SSL | False | `Boolean` Whether to use an implicit TLS (secure) connection when talking to the SMTP server. |
30 | | -email.DEFAULT_FROM_EMAIL | "" (Empty string) | `String` Default email address to use for various correspondence from Enigma. |
31 | | -background_task_manager.type | celery | `String` Type can be **celery** or **threading** |
32 | | -background_task_manager.config | | *Not used with threading.* <br> Refer to [Celery.md](docs/Celery.md) for detailed information on celery configuration parameters/ |
| 7 | +| Parameter name | Default | Description | |
| 8 | +|------------------------------------------------|---------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |
| 9 | +| django_setup.SECRET_KEY | "" (Empty string) | `String` Set the DJANGO setup secret key. This value should be kept secret. | |
| 10 | +| django_setup.DEBUG | True (dev mode only) | `Boolean` User authorised to view details of all users. <br> **Note: DEBUG should be set to `False` in production.** | |
| 11 | +| django_setup.ALLOWED_HOSTS | [] (Empty list) | `Array` User authorised to view access of all users. <br> If DEBUG is False, you also need to properly set the ALLOWED_HOSTS setting. Failing to do so will result in all requests being returned as “Bad Request (400)” | |
| 12 | +| sso.googleapi.SOCIAL_AUTH_GOOGLE_OAUTH2_KEY | "" (Empty string) | `String` Google OAuth 2.0 client ID. Obtain OAuth 2.0 credentials from the Google API Console. | |
| 13 | +| sso.googleapi.SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET | "" (Empty string) | `String` Google OAuth 2.0 client secret. Obtain OAuth 2.0 credentials from the Google API Console. | |
| 14 | +| database.engine | sqlite3 | `String` The database backend to use. Enigma has support for **mysql** and **sqlite3** | |
| 15 | +| database.dbname | "" (Empty string) | `String` The name of the database to use. *Not used with SQLite.* | |
| 16 | +| database.username | "" (Empty string) | `String` The username to use when connecting to the database. *Not used with SQLite.* | |
| 17 | +| database.password | "" (Empty string) | `String` The password to use when connecting to the database. *Not used with SQLite.* | |
| 18 | +| database.host | "" (Empty string) | `String` The host to use when connecting to the database. *Not used with SQLite.* | |
| 19 | +| database.port | | `Integer` The port to use when connecting to the database. *Not used with SQLite.* | |
| 20 | +| access_modules.git_urls | ["https://github.com/browserstack/enigma-access-modules.git"] | `Array` List of Git URLs of access modules, these URLs are fed to the cloning script to pull the modules into the running container. | |
| 21 | +| access_modules.RETRY_LIMIT | 5 | `Integer` Maximum number of tries to clone the access modules repository. | |
| 22 | +| enigmaGroup.MAIL_APPROVER_GROUPS | [] (Empty list) | `Array` List of approvers Email for managing groups. | |
| 23 | +| email.access-approve | "" (Empty string) | `String` Admin access approver's email address | |
| 24 | +| email.EMAIL_HOST | "" (Empty string) | `String` The host to use for sending email. | |
| 25 | +| email.EMAIL_PORT | "" (Empty string) | `String` Port to use for the SMTP server | |
| 26 | +| email.EMAIL_HOST_USER | "" (Empty string) | `String` Username to use for the SMTP server | |
| 27 | +| email.EMAIL_HOST_PASSWORD | "" (Empty string) | `String` Password to use for the SMTP server | |
| 28 | +| email.EMAIL_USE_TLS | True | `Boolean` Whether to use a TLS (secure) connection when talking to the SMTP server. | |
| 29 | +| email.EMAIL_USE_SSL | False | `Boolean` Whether to use an implicit TLS (secure) connection when talking to the SMTP server. | |
| 30 | +| email.DEFAULT_FROM_EMAIL | "" (Empty string) | `String` Default email address to use for various correspondence from Enigma. | |
| 31 | +| background_task_manager.type | celery | `String` Type can be **celery** or **threading** | |
| 32 | +| background_task_manager.config | | *Not used with threading.* <br> Refer to [Celery.md](docs/Celery.md) for detailed information on celery configuration parameters/ | |
33 | 33 |
|
34 | 34 |
|
35 | 35 | The config file contains only the default parameters (described above). You can edit the file and add the configuration parameters depending on your requirement. |
|
0 commit comments