Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chouseknecht/b6d3b920cda7eb4c5c0e4771c94784c4 to your computer and use it in GitHub Desktop.
Save chouseknecht/b6d3b920cda7eb4c5c0e4771c94784c4 to your computer and use it in GitHub Desktop.
Django app detected
Working in development environment
BASE_DIR: '/home/vagrant/devel/pulpcore/pulpcore/app'
DEBUG: False
ALLOWED_HOSTS: ['*']
MEDIA_ROOT: '/var/lib/pulp/'
STATIC_URL: '/static/'
STATIC_ROOT: '/var/lib/pulp/assets/'
DEFAULT_FILE_STORAGE: 'pulpcore.app.models.storage.FileSystem'
FILE_UPLOAD_TEMP_DIR: '/var/lib/pulp/tmp/'
WORKING_DIRECTORY: '/var/lib/pulp/tmp/'
CHUNKED_UPLOAD_DIR: '/var/lib/pulp/upload/'
FILE_UPLOAD_HANDLERS: ['pulpcore.app.files.HashingFileUploadHandler']
SECRET_KEY: 'unsafe_default'
INSTALLED_APPS: ['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'import_export',
'django_filters',
'drf_yasg',
'rest_framework',
'pulpcore.app',
'pulp_ansible.app.PulpAnsiblePluginAppConfig',
'galaxy_ng.app.PulpGalaxyPluginAppConfig',
'pulp_container.app.PulpContainerPluginAppConfig',
'crispy_forms',
'django_extensions',
'storages',
'rest_framework.authtoken']
INSTALLED_PULP_PLUGINS: ['pulp_ansible', 'galaxy_ng', 'pulp_container']
OPTIONAL_APPS: ['crispy_forms', 'django_extensions', 'storages']
MIDDLEWARE: ['django_prometheus.middleware.PrometheusBeforeMiddleware',
'django.middleware.security.SecurityMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django_prometheus.middleware.PrometheusAfterMiddleware']
AUTHENTICATION_BACKENDS: ['django.contrib.auth.backends.ModelBackend']
ROOT_URLCONF: 'pulpcore.app.urls'
TEMPLATES: [{'APP_DIRS': True,
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/home/vagrant/devel/pulpcore/pulpcore/app/templates'],
'OPTIONS': {'context_processors': ['django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages']}}]
WSGI_APPLICATION: 'pulpcore.app.wsgi.application'
REST_FRAMEWORK: {'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.BasicAuthentication'],
'DEFAULT_FILTER_BACKENDS': ['django_filters.rest_framework.DjangoFilterBackend'],
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',
'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.IsAuthenticated'],
'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.URLPathVersioning',
'PAGE_SIZE': 100,
'UPLOADED_FILES_USE_URL': False,
'URL_FIELD_NAME': 'pulp_href'}
AUTH_PASSWORD_VALIDATORS: [{'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator'},
{'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
'OPTIONS': {'min_length': 9}},
{'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator'},
{'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator'}]
LANGUAGE_CODE: 'en-us'
TIME_ZONE: 'UTC'
USE_I18N: ['USE_I18N', True]
USE_L10N: True
USE_TZ: True
DATABASES: {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': 'localhost',
'NAME': 'pulp',
'PASSWORD': 'pulp',
'USER': 'pulp'}}
LOGGING: {'disable_existing_loggers': False,
'formatters': {'simple': {'format': 'pulp: %(name)s:%(levelname)s: '
'%(message)s'}},
'handlers': {'collection_import': {'class': 'pulp_ansible.app.logutils.CollectionImportHandler',
'formatter': 'simple',
'level': 'DEBUG'},
'console': {'class': 'logging.StreamHandler',
'formatter': 'simple'}},
'loggers': {'': {'handlers': ['console'], 'level': 'INFO'},
'pulp_ansible.app.tasks.collection.import_collection': {'handlers': ['collection_import'],
'level': 'INFO',
'propagate': False}},
'version': 1}
CONTENT_PATH_PREFIX: '/pulp/content/'
CONTENT_APP_TTL: 30
REMOTE_USER_ENVIRON_NAME: 'REMOTE_USER'
ALLOWED_IMPORT_PATHS: []
ALLOWED_EXPORT_PATHS: []
PROFILE_STAGES_API: False
SWAGGER_SETTINGS: {'DEFAULT_AUTO_SCHEMA_CLASS': 'pulpcore.app.openapigenerator.PulpAutoSchema',
'DEFAULT_GENERATOR_CLASS': 'pulpcore.app.openapigenerator.PulpOpenAPISchemaGenerator',
'DEFAULT_INFO': 'pulpcore.app.urls.api_info'}
REDOC_SETTINGS: {'SPEC_URL': '/pulp/api/v3/docs/?format=openapi&include_html=1'}
ANSIBLE_API_HOSTNAME: 'http://pulp3-source-fedora31.cyclone.example.com'
ANSIBLE_CONTENT_HOSTNAME: 'http://pulp3-source-fedora31.cyclone.example.com/pulp/content'
AUTH_USER_MODEL: 'galaxy.User'
GALAXY_API_DEFAULT_DISTRIBUTION_BASE_PATH: 'automation-hub'
GALAXY_API_PATH_PREFIX: '/api/galaxy'
GALAXY_AUTHENTICATION_CLASSES: ['rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.TokenAuthentication']
GALAXY_DEPLOYMENT_MODE: 'standalone'
GALAXY_EXCEPTION_HANDLER: 'galaxy_ng.app.api.exceptions.exception_handler'
GALAXY_PAGINATION_CLASS: 'galaxy_ng.app.api.pagination.LimitOffsetPagination'
GALAXY_PERMISSION_CLASSES: ['rest_framework.permissions.IsAuthenticated']
GALAXY_REQUIRE_CONTENT_APPROVAL: False
X_PULP_API_HOST: '127.0.0.1'
X_PULP_API_PASSWORD: 'password'
X_PULP_API_PORT: 24817
X_PULP_API_PREFIX: 'pulp_ansible/galaxy/automation-hub/api'
X_PULP_API_USER: 'admin'
X_PULP_CONTENT_HOST: 'localhost'
X_PULP_CONTENT_PORT: 24816
CONTENT_ORIGIN: 'http://pulp3-source-fedora31.cyclone.example.com'
PULP_API_WORKERS: 4
PULP_TOKEN_AUTH_DISABLED: True
SETTINGS: '/etc/pulp/settings.py'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment