changes dev config to store sqlite file in data volume
This commit is contained in:
parent
3a2b25d3bd
commit
889a3e6476
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue