blob: 2443735b6f8b7a151ff3f629a1f2d2e4a1d74f94 [file] [log] [blame]
Fatih Degirmencic2a46012019-09-30 12:07:45 +02001import os
2from dotenv import load_dotenv
3
4basedir = os.path.abspath(os.path.dirname(__file__))
5load_dotenv(os.path.join(basedir, '.env'))
6
7class Config(object):
8 SECRET_KEY = os.environ.get('SECRET_KEY')
9 SECURITY_PASSWORD_SALT = os.environ.get('SECURITY_PASSWORD_SALT')
10 SQLALCHEMY_DATABASE_URI = os.environ.get('SQLALCHEMY_DATABASE_URI')
11 SQLALCHEMY_TRACK_MODIFICATIONS = False
12 BOOKINGS_PER_PAGE = 10
13 NOLABS_ADMINS = ['fdegir@gmail.com', 'fatih.degirmenci@est.tech']
14 LOGS_DIR = os.environ.get('LOGS_DIR')
15 CONTENT_DIR = basedir + '/content'
16 JENKINS_URL=os.environ.get('JENKINS_URL')
17 JENKINS_SLAVE_LABEL=os.environ.get('JENKINS_SLAVE_LABEL')
18 JENKINS_NOLABS_USERNAME=os.environ.get('JENKINS_NOLABS_USERNAME')
19 JENKINS_NOLABS_TOKEN=os.environ.get('JENKINS_NOLABS_TOKEN')
20 JENKINS_HANDLE_BOOKING_JOB=os.environ.get('JENKINS_HANDLE_BOOKING_JOB')
21 JENKINS_DELETE_BOOKING_JOB=os.environ.get('JENKINS_DELETE_BOOKING_JOB')