-
Notifications
You must be signed in to change notification settings - Fork 0
Environment Variables
FollowSteph edited this page Jul 26, 2020
·
13 revisions
These are the environment variables used for the development environment
- Required: Indicates if this needs to be set in the developer's environment for the system to run. If it's not required it's either because it's optional OR it's been defaulted.
- Defaulted: Indicates if the environment variable has a default value in the configuration.
| Environment Variable | Required | Defaulted | Description |
|---|---|---|---|
| AWS_ACCESS_KEY_ID | true | false | Individual developer AWS access keys (provided by Dae) |
| AWS_DEFAULT_REGION | true | false | Individual developer AWS default region (provided by Dae) |
| AWS_ENDPOINT_URL | true | false | Individual developer AWS default region (provided by Dae) |
| AWS_SECRET_ACCESS_KEY | true | false | Individual developer AWS secret access key (provided by Dae) |
| DB_URL | true | false | Your local environment's database URL (which points to the postgresql Pathmind database. Most like in the format of: jdbc:postgresql://localhost/PATHMIND?user=[username]&password=[password]
|
| JOB_MOCK_CYCLE | false | false | Required when using the mock backend server. More details here. Should be set to 10. If set, the webapp will trigger the actual deployment of downstream training services but will rely on Mocked data. JOB_MOCK_CYCLE itself sets the frequency in seconds, in which the Mock server produces a new chunk of pre-recorded training data. Mock server is available on dev and test environments |
| MIGRATE_DB | false | true |
PLEASE CONFIRM Determines if the liquibase database script should be applied on server startup or if it needs to be done manually. False means that the liquibase update script will NOT be run automatically on server startup. |
| MODEL_ANALYZER_URL | false | true |
PLEASE CONFIRM It is currently defaulted to https://ma.devpathmind.com/
|
| MULTI_AGENT | false | true | Determines if we run the training with multi-agents or not. It is currently defaulted to false. |
| NEW_RUN_DAILY_LIMIT | false | true | Determines the maximum number of runs a user can execute in a single day. Defaulted to 100 |
| NEW_RUN_MONTHLY_LIMIT | false | true | Determines the maximum number of runs a user can execute in a month. Defaulted to 1000 |
| NEW_RUN_NOTIFICATION_THRESHOLD | false | true | The threshold (percentage) of which a user has to exceed for NEW_RUN_DAILY_LIMIT or NEW_RUN_MONTHLY_LIMIT after which we will send ourselves notifications by Segment to be able to further investigate. Defaulted to 90% |
| PATHMIND_DEV_MODE |
PLEASE CONFIRM IF THIS IS STILL USED
|
||
| PATHMIND_STRIPE_PROFESSIONAL_PLAN_ID | false | true | Needed to process payments |
| PATHMIND_STRIPE_PUBLIC_KEY | false | true | Needed to process payments |
| PATHMIND_STRIPE_SECRET_KEY | false | true | Needed to process payments |
| PATHMIND_UPLOAD_FILE_LIMIT | false | true |
PLEASE CONFIRM WHAT THIS DOES Maximum filesize for the policy upload. Defaulted to 200MB |
| PATHMIND_UPLOAD_REQUEST_LIMIT | false | true |
PLEASE CONFIRM WHAT THIS DOES Defaulted to 200MB |
| PATHMIND_WEBCLIENT_MAX | false | true |
PLEASE CONFIRM Webflux memory setting for web client. Defaulted to 5MB |
| RESCALE_URL |
PLEASE CONFIRM IF THIS IS STILL USED
|
||
| S3_BUCKET | true | false | Individual developer S3 buckets required to run experiments and runs (provided by Dae) |
| SEGMENT_SERVER_KEY | false | true | Required to run Segment. |
| SEGMENT_WEBSITE_KEY | false | true | Required to run Segment. |
| SIMULATION_METRICS | false | true | Determines whether or not to show simulation metrics. Defaulted to false |
| SNS_UPDATER_SQS_FILTER_ATTR | true | false |
PLEASE CONFIRM WHAT THIS DOES
|
| SNS_UPDATER_TOPIC_ARN | true | false |
PLEASE CONFIRM WHAT THIS DOES
|
| SQS_UPDATER_URL | true | false |
PLEASE CONFIRM WHAT THIS DOES
|
| SQS_URL | true | false |
PLEASE CONFIRM WHAT THIS DOES
|
| WEBAPP_UPDATER_RATE_MSEC | true | false |
PLEASE CONFIRM WHAT THIS DOES
|
| WEBAPP_UPDATER_SQS_WAIT_SEC | true | false |
PLEASE CONFIRM WHAT THIS DOES
|