From 863db0a540ffbb2ec8df1ce03eb99927a3f2105c Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 9 Sep 2019 15:21:29 +0200 Subject: [PATCH] New storage path --- config.py | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index c934b989..c9c36e34 100644 --- a/config.py +++ b/config.py @@ -18,7 +18,7 @@ class Config: ''' ### Opaque ### ''' OPAQUE_ADMIN = os.environ.get('OPAQUE_ADMIN') - OPAQUE_STORAGE_DIRECTORY = '/opaque_storage' + OPAQUE_STORAGE_DIRECTORY = '/mnt/opaque' @staticmethod def init_app(app): diff --git a/docker-compose.yml b/docker-compose.yml index 76b1d728..2b8bfb1c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,7 +16,7 @@ services: ports: - 5000:5000 volumes: - - /opaque_storage:/opaque_storage + - /mnt/opaque:/mnt/opaque - ./app:/home/opaque/app - ./config.py:/home/opaque/config.py - ./migrations:/home/opaque/migrations