-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.env.example
118 lines (101 loc) · 3.96 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# Values of "changeme" indicate places you should
# either change the value or comment out the variable
# Standard configuration
CELERY_TASK_ALWAYS_EAGER=True
DJANGO_LOG_LEVEL=INFO
LOG_LEVEL=INFO
SENTRY_LOG_LEVEL=ERROR
MAILGUN_KEY=changeme
MAILGUN_SENDER_DOMAIN=changeme
MAILGUN_RECIPIENT_OVERRIDE=
SECRET_KEY=
STATUS_TOKEN=
UWSGI_THREADS=5
SENTRY_DSN=
# Setting this to dev enables Minio local S3 emulation
# Any other value will connect to AWS for S3 functionality
OCW_STUDIO_ENVIRONMENT=dev
# Other ocw-studio configuration
OCW_STUDIO_DRAFT_URL=http://localhost:8044/
OCW_STUDIO_LIVE_URL=http://localhost:8045/
SOCIAL_AUTH_SAML_LOGIN_URL=http://localhost
API_BEARER_TOKEN=changeme
USE_LOCAL_STARTERS=false
TEST_ROOT_WEBSITE_NAME="ocw-ci-test-www"
OCW_TEST_SITE_SLUGS=["ocw-ci-test-www","ocw-ci-test-course"]
# Classes to use for Git backend and publishing pipelines
CONTENT_SYNC_BACKEND=content_sync.backends.github.GithubBackend
CONTENT_SYNC_PIPELINE=content_sync.pipelines.concourse.ConcourseGithubPipeline
CONTENT_SYNC_THEME_PIPELINE=content_sync.pipelines.concourse.ThemeAssetsPipeline
# Values used in pipeline definitions
OCW_STUDIO_BASE_URL=http://MYNAME.ocw-studio.odl.local:8043/
SEARCH_API_URL=https://discussions-rc.odl.mit.edu/api/v0/search/
COURSE_SEARCH_API_URL=https://mit-open-rc.odl.mit.edu/api/v1/learning_resources_search/
CONTENT_FILE_SEARCH_API_URL=https://mit-open-rc.odl.mit.edu/api/v1/content_file_search/
RESOURCE_BASE_URL_DRAFT=http://localhost:8044/
RESOURCE_BASE_URL_LIVE=http://localhost:8045/
STATIC_API_BASE_URL=https://live-qa.odl.mit.edu/
STATIC_API_BASE_URL_TEST=http://10.1.0.102:8046/
OCW_HUGO_THEMES_BRANCH=main
OCW_HUGO_PROJECTS_BRANCH=main
OCW_GTM_ACCOUNT_ID=changeme
OCW_STUDIO_USE_S3=true
# Minio configuration
MINIO_ROOT_USER=changeme
MINIO_ROOT_PASSWORD=changeme
# AWS credentials and bucket names
# Examples here are configured for Minio local S3 emulation
# If OCW_STUDIO_ENVIRONMENT is not "dev" these need to be actual AWS S3 credentials and buckets
AWS_ACCESS_KEY_ID=changeme
AWS_SECRET_ACCESS_KEY=changeme
AWS_STORAGE_BUCKET_NAME=ol-ocw-studio-app-local
AWS_PREVIEW_BUCKET_NAME=ocw-content-draft-local
AWS_PUBLISH_BUCKET_NAME=ocw-content-live-local
AWS_TEST_BUCKET_NAME=ocw-content-test
AWS_OFFLINE_PREVIEW_BUCKET_NAME=ocw-content-offline-draft-local
AWS_OFFLINE_PUBLISH_BUCKET_NAME=ocw-content-offline-live-local
AWS_OFFLINE_TEST_BUCKET_NAME=ocw-content-offline-test
AWS_ARTIFACTS_BUCKET_NAME=ol-eng-artifacts-local
# Github configuration
GIT_DOMAIN=github.com
GIT_API_URL=https://api.github.com
GITHUB_RATE_LIMIT_CHECK=True
GIT_ORGANIZATION=changeme
GIT_TOKEN=changeme
GITHUB_WEBHOOK_KEY=changeme
GITHUB_WEBHOOK_BRANCH=main
# Concourse configuration
CONCOURSE_IS_PRIVATE_REPO=False
CONCOURSE_URL=http://concourse:8080
CONCOURSE_PASSWORD=test
CONCOURSE_USERNAME=test
CONCOURSE_TEAM=main
# Google Drive configuration
# Fill out this section with Google Drive credentials and uncomment to enable
# DRIVE_S3_UPLOAD_PREFIX=gdrive_uploads
# DRIVE_SERVICE_ACCOUNT_CREDS=changeme
# DRIVE_SHARED_ID=changeme
# DRIVE_UPLOADS_PARENT_FOLDER_ID=changeme
# DRIVE_VIDEO_UPLOADS_PARENT_FOLDER_ID=changeme
# YouTube configuration
# Fill out this section with YouTube credentials and uncomment to enable
# YT_ACCESS_TOKEN=changeme
# YT_CLIENT_ID=changeme
# YT_CLIENT_SECRET=changeme
# YT_PROJECT_ID=changeme
# YT_REFRESH_TOKEN=changeme
# Feature Flags
# Unless we have moved on to a dedicated flag distribution service,
# you'll find the feature flags defined here.
FEATURE_USE_LOCAL_STARTERS=false
FEATURE_SELECT_FIELD_INFINITE_SCROLL=false
FEATURE_SORTABLE_SELECT_HIDE_SELECTED=false
FEATURE_SORTABLE_SELECT_QUICK_ADD=false
FEATURE_SORTABLE_SELECT_PRESERVE_SEARCH_TEXT=false
# Open catalog webhook endpoints
OPEN_CATALOG_URLS=https://changeme1.mit.edu/api/v0/ocw_next_webhook/,https://changeme2.mit.edu/api/v1/ocw_next_webhook/
OPEN_CATALOG_WEBHOOK_KEY=changeme
# Wayback Machine Integration Configuration
WAYBACK_MACHINE_ACCESS_KEY=changeme
WAYBACK_MACHINE_SECRET_KEY=changeme
ENABLE_WAYBACK_TASKS=false