Alternative frontend for munin written in Django
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

34 lines
896 B

# -*- coding: utf-8 -*-
from djunin.settings import *
import os
import logging
SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY')
DEBUG = False
ALLOWED_HOSTS = [x.strip() for x in os.environ.get('DJANGO_ALLOWED_HOSTS', '').split(',')]
format='%(asctime)s %(levelname)-7s %(message)s'
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': os.environ.get('DJANGO_DATABASE_NAME'),
'USER': os.environ.get('DJANGO_DATABASE_USER'),
'HOST': os.environ.get('DJANGO_DATABASE_HOST'),
'PORT': os.environ.get('DJANGO_DATABASE_PORT', ''),
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'",
MUNIN_DATA_DIR = '/munin'
COMPRESS_ROOT = os.path.join(BASE_DIR, 'djunin/static')