changes dev config to store sqlite file in data volume
This commit is contained in:
1 parent
3a2b25d3bd
commit
889a3e6476
1 file changed
+1
-1
@@ -30,7 +30,7 @@ class Config:
|
||||
class DevelopmentConfig(Config):
|
||||
SECURITY_SEND_REGISTER_EMAIL = False
|
||||
DEBUG = True
|
||||
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'data.sqlite')
|
||||
SQLALCHEMY_DATABASE_URI = 'sqlite:////data/data.sqlite'
|
||||
|
||||
|
||||
class TestingConfig(Config):
|
||||
|
||||
Reference in new issue
Block a user