forked from theforeman/foremanctl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py.j2
More file actions
23 lines (20 loc) · 738 Bytes
/
settings.py.j2
File metadata and controls
23 lines (20 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CONTENT_ORIGIN="{{ pulp_content_origin }}"
CACHE_ENABLED=True
REDIS_HOST="localhost"
REDIS_PORT=6379
REDIS_DB=8
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'pulp',
'USER': 'pulp',
'PASSWORD': '{{ pulp_db_password }}',
'HOST': 'localhost',
}
}
AUTHENTICATION_BACKENDS=['pulpcore.app.authentication.PulpNoCreateRemoteUserBackend']
REMOTE_USER_ENVIRON_NAME="HTTP_REMOTE_USER"
REST_FRAMEWORK__DEFAULT_AUTHENTICATION_CLASSES=('rest_framework.authentication.SessionAuthentication', 'pulpcore.app.authentication.PulpRemoteUserAuthentication')
ANALYTICS = {{ pulp_enable_analytics | ternary('True', 'False') }}
SMART_PROXY_RHSM_URL="{{ pulp_rhsm_url }}"
SMART_PROXY_PULP_URL="{{ pulp_pulp_url }}"