-
Notifications
You must be signed in to change notification settings - Fork 18
Environment Variables
Tami Takamiya edited this page Mar 3, 2023
·
35 revisions
This page contains the list of environment variables read by Wisdom Service. Note that these variables are also specified in
- Resources used in deployment
- Docker (Podman) Compose file
When you add/modify/delete any environment variables read by Wisdom Service, please consider to spend ten minutes to update this page so that the information remains updated.
- Django-specific
- Model Server
- Authentication
- Ansible Risk Insight (ARI)
- Production Environment/Pilot-related
- API Rate Throttle, Analytics
Name | Default | Description | Read by |
---|---|---|---|
ANSIBLE_AI_CACHE_URI | redis://redis:6379 (development), None (production) | Location of Django cache (Redis). | development.py, production.py |
ANSIBLE_AI_DATABASE_HOST | None | Location of Django DB host (Postgres) | base.py |
ANSIBLE_AI_DATABASE_NAME | None | Name of Django DB | base.py |
ANSIBLE_AI_DATABASE_PASSWORD | None | Password of Django DB | base.py |
ANSIBLE_AI_DATABASE_USER | None | User name of Django DB | base.py |
DJANGO_SETTINGS_MODULE | main.settings.development | Django settings module | wsgi.py, asgi.py, manage.py |
SECRET_KEY | None | A secret used for Django | base.py, development.py, production.py |
Name | Default | Description | Read by |
---|---|---|---|
ANSIBLE_AI_MODEL_MESH_HOST | (This URL) (development), None (production) | Location of Model server | development.py, production.py |
ANSIBLE_AI_MODEL_MESH_INFERENCE_PORT | 443 (development), None (production) | Port number of Model server | development.py production.py |
Name | Default | Description | Read by |
---|---|---|---|
SOCIAL_AUTH_GITHUB_TEAM_ID | 7188893 | GitHub team ID for authentication | base.py |
SOCIAL_AUTH_GITHUB_TEAM_KEY | None | GitHub team Key for authentication | base.py |
SOCIAL_AUTH_GITHUB_TEAM_SECRET | None | GitHub team secret for authentication | base.py |
OAUTH2_ENABLE | None | Identifies if OAuth2 is enabled or not | base.py, model.py |
Ansible Risk Insight (ARI)
Name | Default | Description | Read by |
---|---|---|---|
ARI_KB_PATH | /etc/ari/kb/ | Default KB (?) path for ARI | base.py |
ARI_RULE_FOR_OUTPUT_RESULT | W007 | ARI rule for output result | base.py |
ARI_RULES | [ P001, P002, P003, P004, W001, W003, W004, W005, W006, W007, W008, W009, W010, W012, W013] | Rules to be used with ARI | base.py |
ENABLE_ARI_POSTPROCESS | False | Enables ARI | base.py |
Name | Default | Description | Read by |
---|---|---|---|
ANSIBLE_WISDOM_DOMAIN | None | Domain for allowed hosts | production.py |
PILOT_CONTACT | #ansible-wisdom-pilot on Internal Red Hat Slack | Contact point on Wisdom Pilot | base.py |
PILOT_DOCS_URL | (This URL) | Document location for Wisdom Pilot | base.py |
Name | Default | Description | Read by |
---|---|---|---|
COMPLETION_USER_RATE_THROTTLE | 10/minute | User rate throttle for the completion API | base.py |
SEGMENT_WRITE_KEY | None | Write key for sending analytic data to Segment.com | base.py |