import os

# Flask settings
SECRET_KEY = os.getenv('SECRET_KEY',       'THIS IS AN INSECURE SECRET')
SQLALCHEMY_DATABASE_URI = os.getenv('DATABASE_URL',     'mysql://inception_web:inception_web@192.168.2.253:3306/inception_web?charset=utf8')
SQLALCHEMY_TRACK_MODIFICATIONS=False
CSRF_ENABLED = True

# Flask-Mail settings
MAIL_USERNAME = os.getenv('MAIL_USERNAME',        'email@example.com')
MAIL_PASSWORD = os.getenv('MAIL_PASSWORD',        'password')
MAIL_DEFAULT_SENDER = os.getenv('MAIL_DEFAULT_SENDER',  '"MyApp" <noreply@example.com>')
MAIL_SERVER = os.getenv('MAIL_SERVER',          'smtp.gmail.com')
MAIL_PORT = int(os.getenv('MAIL_PORT',            '465'))
MAIL_USE_SSL = int(os.getenv('MAIL_USE_SSL',         True))



#Inception settings

INCEPTION_HOST='192.168.30.51'
INCEPTION_PORT=6669

INCEPTION_REMOTE_BACKUP_HOST='127.0.0.1'
INCEPTION_REMOTE_BACKUP_PORT=3306
INCEPTION_REMOTE_BACKUP_USER='root'
INCEPTION_REMOTE_BACKUP_PASSWORD=''

CRITICAL_DDL_ON_OFF='OFF'
AUDIT_SROLE_ON_OFF='ON'
