New storage path

This commit is contained in:
Patrick Jentsch 2019-09-09 15:21:29 +02:00
parent 295ed49799
commit 863db0a540
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ class Config:
''' ### Opaque ### ''' ''' ### Opaque ### '''
OPAQUE_ADMIN = os.environ.get('OPAQUE_ADMIN') OPAQUE_ADMIN = os.environ.get('OPAQUE_ADMIN')
OPAQUE_STORAGE_DIRECTORY = '/opaque_storage' OPAQUE_STORAGE_DIRECTORY = '/mnt/opaque'
@staticmethod @staticmethod
def init_app(app): def init_app(app):

View File

@ -16,7 +16,7 @@ services:
ports: ports:
- 5000:5000 - 5000:5000
volumes: volumes:
- /opaque_storage:/opaque_storage - /mnt/opaque:/mnt/opaque
- ./app:/home/opaque/app - ./app:/home/opaque/app
- ./config.py:/home/opaque/config.py - ./config.py:/home/opaque/config.py
- ./migrations:/home/opaque/migrations - ./migrations:/home/opaque/migrations