This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 423
Insights-configuration for docker #976
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
91c1edb
feat: insights-configuration for docker
aht007 8e41dea
fix: use openedx dockerhub insights image
aht007 b2fe66c
fix: use edxops for insights image
aht007 33f673c
fix: fix make dev.shell for new insights image
aht007 1bacc82
fix: fix pwd
aht007 1743ed7
fix: fix org name for insights image
aht007 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
|
||
APPLICATION_NAME: Insights | ||
BACKEND_SERVICE_EDX_OAUTH2_PROVIDER_URL: http://edx.devstack.lms:18000/oauth2 | ||
CACHES: | ||
default: | ||
BACKEND: django.core.cache.backends.memcached.MemcachedCache | ||
KEY_PREFIX: default_env-default_deployment-insights | ||
LOCATION: | ||
- edx.devstack.memcached:11211 | ||
CDN_DOMAIN: null | ||
CMS_COURSE_SHORTCUT_BASE_URL: http://edx.devstack.lms:18000/course | ||
COURSE_API_URL: http://edx.devstack.lms:18000/api/courses/v1/ | ||
CSRF_COOKIE_NAME: insights_csrftoken | ||
CSRF_COOKIE_SECURE: false | ||
DATABASES: | ||
default: | ||
ENGINE: django.db.backends.mysql | ||
HOST: edx.devstack.mysql | ||
NAME: dashboard | ||
PASSWORD: secret | ||
PORT: '3306' | ||
USER: rosencrantz | ||
DATA_API_AUTH_TOKEN: edx | ||
DATA_API_URL: http://edx.devstack.analyticsapi:18100/api/v0 | ||
DOCUMENTATION_LOAD_ERROR_URL: http://127.0.0.1/en/latest/Reference.html#error-conditions | ||
EMAIL_HOST: smtp.example.com | ||
EMAIL_HOST_PASSWORD: mail_password | ||
EMAIL_HOST_USER: mail_user | ||
EMAIL_PORT: 587 | ||
ENABLE_AUTO_AUTH: true | ||
GRADING_POLICY_API_URL: http://edx.devstack.lms:18000/api/grades/v1/ | ||
HELP_URL: http://127.0.0.1/en/latest | ||
LANGUAGE_CODE: en-us | ||
LANGUAGE_COOKIE_NAME: insights_language | ||
LEARNER_API_LIST_DOWNLOAD_FIELDS: null | ||
LMS_COURSE_SHORTCUT_BASE_URL: URL_FOR_LMS_COURSE_LIST_PAGE | ||
MODULE_PREVIEW_URL: http://edx.devstack.lms:18000/xblock | ||
OPEN_SOURCE_URL: http://set-me-please | ||
PLATFORM_NAME: edX | ||
PRIVACY_POLICY_URL: http://example.com/privacy-policy | ||
RESEARCH_URL: https://www.edx.org/research-pedagogy | ||
SECRET_KEY: YOUR_SECRET_KEY_HERE | ||
SEGMENT_IGNORE_EMAIL_REGEX: null | ||
SEGMENT_IO_KEY: YOUR_KEY | ||
SESSION_COOKIE_NAME: insights_sessionid | ||
SESSION_EXPIRE_AT_BROWSER_CLOSE: false | ||
SOCIAL_AUTH_REDIRECT_IS_HTTPS: false | ||
SOCIAL_AUTH_EDX_OAUTH2_ISSUER: http://localhost:18000 | ||
SOCIAL_AUTH_EDX_OAUTH2_URL_ROOT: http://edx.devstack.lms:18000 | ||
SOCIAL_AUTH_EDX_OAUTH2_PUBLIC_URL_ROOT: http://localhost:18000 | ||
SOCIAL_AUTH_EDX_OAUTH2_LOGOUT_URL: http://localhost:18000/logout | ||
STATICFILES_DIRS: | ||
- /edx/app/insights/edx_analytics_dashboard/analytics_dashboard/static | ||
STATIC_ROOT: /edx/var/insights/staticfiles | ||
SUPPORT_EMAIL: '' | ||
TERMS_OF_SERVICE_URL: http://example.com/terms-service | ||
TIME_ZONE: UTC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have removed the
devstack.sh
file usage in the newer image.Essentially the file was running these commands in this step:
We have already done all these above steps by setting the WORKDIR in docker image and also putting the nodeenv and python virtual env in path.