Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
37e4594a
Commit
37e4594a
authored
Feb 16, 2016
by
zubair-arbi
Committed by
Max Rothman
Feb 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update s3 configuration to use custom credentials s3 backends
parent
de6c8ee3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
playbooks/roles/credentials/defaults/main.yml
+10
-7
No files found.
playbooks/roles/credentials/defaults/main.yml
View file @
37e4594a
...
@@ -109,15 +109,12 @@ CREDENTIALS_USER_API_JWT_SECRET_KEY: 'lms-secret'
...
@@ -109,15 +109,12 @@ CREDENTIALS_USER_API_JWT_SECRET_KEY: 'lms-secret'
# Cache-Control: max-age-31536000
# Cache-Control: max-age-31536000
# Access-Control-Allow-Origin: 'PUT-YOUR-HOSTNAME-HERE'
# Access-Control-Allow-Origin: 'PUT-YOUR-HOSTNAME-HERE'
#
#
# MEDIA_ROOT: '{{ CREDENTIALS_MEDIA_ROOT }}'
# COMPRESS_URL: 'https://mybucket.s3.amazonaws.com/staticfiles/'
# MEDIA_URL: '{{ CREDENTIALS_MEDIA_URL }}'
# STATIC_URL: 'https://mybucket.s3.amazonaws.com/staticfiles/'
# STATIC_ROOT: '{{ CREDENTIALS_STATIC_ROOT }}'
# MEDIA_URL: 'https://mybucket.s3.amazonaws.com/media/'
# STATIC_URL: '{{ CREDENTIALS_STATIC_URL }}'
# COMPRESS_ROOT: {{ CREDENTIALS_STATIC_ROOT }}
# COMPRESS_URL: '{{ CREDENTIALS_STATIC_URL }}'
# COMPRESS_STORAGE: 'credentials.apps.core.s3utils.StaticS3BotoStorage'
# COMPRESS_STORAGE: 'credentials.apps.core.s3utils.StaticS3BotoStorage'
# STATICFILES_STORAGE: 'credentials.apps.core.s3utils.StaticS3BotoStorage'
# STATICFILES_STORAGE: 'credentials.apps.core.s3utils.StaticS3BotoStorage'
# DEFAULT_FILE_STORAGE: 'credentials.apps.core.s3utils.MediaS3BotoStorage'
# DEFAULT_FILE_STORAGE: 'credentials.apps.core.s3utils.Media
Root
S3BotoStorage'
CREDENTIALS_FILE_STORAGE_BACKEND
:
CREDENTIALS_FILE_STORAGE_BACKEND
:
MEDIA_ROOT
:
'
{{
CREDENTIALS_MEDIA_ROOT
}}'
MEDIA_ROOT
:
'
{{
CREDENTIALS_MEDIA_ROOT
}}'
...
@@ -234,3 +231,9 @@ credentials_debian_pkgs:
...
@@ -234,3 +231,9 @@ credentials_debian_pkgs:
-
libpng12-dev
-
libpng12-dev
credentials_redhat_pkgs
:
[]
credentials_redhat_pkgs
:
[]
"
JWT_AUTH"
:
{
"
JWT_AUDIENCE"
:
"
lms-key"
,
"
JWT_ISSUER"
:
"
https://certs.sandbox.edx.org/oauth2"
,
"
JWT_SECRET_KEY"
:
"
lms-secret"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment