devops-exercises/topics/flask_container_ci2/app/config.py

12 lines
217 B
Python
Raw Normal View History

2019-12-21 12:26:41 +01:00
#!/usr/bin/env python
# coding=utf-8
import os
basedir = os.path.abspath(os.path.dirname(__file__))
SECRET_KEY = 'shhh'
CSRF_ENABLED = True
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db')