mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 14:05:59 -03:30
Adding ability to run "make rpm"
This commit is contained in:
41
config/settings.py
Normal file
41
config/settings.py
Normal file
@@ -0,0 +1,41 @@
|
||||
ADMINS = (
|
||||
#('Joe Admin', 'joeadmin@example.com'),
|
||||
)
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||
'NAME': 'ansibleworks',
|
||||
'USER': 'ansibleworks',
|
||||
'PASSWORD': 'AWsecret',
|
||||
'HOST': '',
|
||||
'PORT': '',
|
||||
}
|
||||
}
|
||||
|
||||
STATIC_ROOT = '/var/lib/ansibleworks/public/static'
|
||||
|
||||
PROJECTS_ROOT = '/var/lib/ansibleworks/projects'
|
||||
|
||||
SECRET_KEY = file('/etc/ansibleworks/SECRET_KEY', 'rb').read().strip()
|
||||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
LOGGING['handlers']['syslog'] = {
|
||||
'level': 'ERROR',
|
||||
'filters': ['require_debug_false'],
|
||||
'class': 'logging.handlers.SysLogHandler',
|
||||
'address': '/dev/log',
|
||||
'facility': 'local0',
|
||||
'formatter': 'simple',
|
||||
}
|
||||
|
||||
SERVER_EMAIL = 'root@localhost'
|
||||
DEFAULT_FROM_EMAIL = 'webmaster@localhost'
|
||||
EMAIL_SUBJECT_PREFIX = '[AnsibleWorks] '
|
||||
|
||||
EMAIL_HOST = 'localhost'
|
||||
EMAIL_PORT = 25
|
||||
EMAIL_HOST_USER = ''
|
||||
EMAIL_HOST_PASSWORD = ''
|
||||
EMAIL_USE_TLS = False
|
||||
Reference in New Issue
Block a user