changes dev config to store sqlite file in data volume

This commit is contained in:
Joachim Lusiardi 2018-08-11 18:58:25 +02:00
parent 3a2b25d3bd
commit 889a3e6476
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class Config:
class DevelopmentConfig(Config): class DevelopmentConfig(Config):
SECURITY_SEND_REGISTER_EMAIL = False SECURITY_SEND_REGISTER_EMAIL = False
DEBUG = True DEBUG = True
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'data.sqlite') SQLALCHEMY_DATABASE_URI = 'sqlite:////data/data.sqlite'
class TestingConfig(Config): class TestingConfig(Config):