12345678910111213141516171819202122232425262728 |
- #-*-coding:utf8-*-
- import os
- # app config
- LOG_LEVEL = 'DEBUG'
- SECRET_KEY = "secret-key"
- PERMANENT_SESSION_LIFETIME = 3600 * 24 * 30
- SITE_COOKIE = "open-falcon-ck"
- # Falcon+ API
- API_ADDR = "http://127.0.0.1:8080/api/v1"
- # portal database
- # TODO: read from api instead of db
- DB_HOST = "127.0.0.1"
- DB_PORT = 3306
- DB_USER = "root"
- DB_PASS = ""
- DB_NAME = "falcon_portal"
- # portal site config
- MAINTAINERS = ['root']
- CONTACT = 'root@open-falcon.org'
- try:
- from rrd.local_config import *
- except:
- print "[warning] no local config file"
|