
docker/build/compass is for building compass docker image, which should be triggered automatically by CI(or other periodic jobs). under docker/build/scripts there is a sample start that can be included in Dockerfile(uncomment CMD["/root/sample_start"] when testing this image build. Change-Id: I05dbbde67bd82803971cf3f90a8dbea6d57b0776
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
CONFIG_DIR = '/etc/compass'
|
|
DATABASE_TYPE = 'mysql'
|
|
DATABASE_USER = 'root'
|
|
DATABASE_PASSWORD = 'root'
|
|
DATABASE_SERVER = '127.0.0.1:3306'
|
|
DATABASE_NAME = 'compass'
|
|
SQLALCHEMY_DATABASE_URI = '%s://%s:%s@%s/%s' % (DATABASE_TYPE, DATABASE_USER, DATABASE_PASSWORD, DATABASE_SERVER, DATABASE_NAME)
|
|
SQLALCHEMY_DATABASE_POOL_TYPE = 'instant'
|
|
INSTALLATION_LOGDIR = {
|
|
'CobblerInstaller': '/var/log/cobbler/anamon',
|
|
'ChefInstaller': '/var/log/chef'
|
|
}
|
|
DEFAULT_LOGLEVEL = 'info'
|
|
DEFAULT_LOGDIR = '/var/log/compass'
|
|
DEFAULT_LOGINTERVAL = 6
|
|
DEFAULT_LOGINTERVAL_UNIT = 'h'
|
|
DEFAULT_LOGFORMAT = '%(asctime)s - %(filename)s - %(lineno)d - %(levelname)s - %(message)s'
|
|
WEB_LOGFILE = 'compass.log'
|
|
CELERY_LOGFILE = 'celery.log'
|
|
CELERYCONFIG_DIR = '/etc/compass'
|
|
CELERYCONFIG_FILE = 'celeryconfig'
|
|
PROGRESS_UPDATE_INTERVAL=30
|
|
POLLSWITCH_INTERVAL=60
|
|
SWITCHES = [
|
|
]
|
|
TMPL_DIR = '/etc/compass/templates'
|
|
COMPASS_SUPPORTED_PROXY = 'http://10.145.89.140:3128'
|
|
COMPASS_SUPPORTED_DEFAULT_NOPROXY = ['127.0.0.1','10.145.89.140','comapss']
|
|
COMPASS_SUPPORTED_NTP_SERVER = '10.145.89.140'
|
|
COMPASS_SUPPORTED_DNS_SERVERS = ['10.145.89.140']
|
|
COMPASS_SUPPORTED_DOMAINS = ['ods.com']
|
|
COMPASS_SUPPORTED_DEFAULT_GATEWAY = '10.145.88.1'
|
|
COMPASS_SUPPORTED_LOCAL_REPO = 'http://10.145.89.140'
|