Add 'app/config.py'

This commit is contained in:
mm 2023-03-18 22:50:14 +00:00
parent 6bf3504df1
commit e29d5eb33c

5
app/config.py Normal file
View File

@ -0,0 +1,5 @@
import os
SECRET_KEY = os.environ.get('SECRET_KEY') or 'mysecretkey'
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or 'postgresql://user:password@localhost/dbname'
SQLALCHEMY_TRACK_MODIFICATIONS = False