-
Opaque?
+
nopaque?
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
diff --git a/config.py b/config.py
index 737d5668..9212705d 100644
--- a/config.py
+++ b/config.py
@@ -18,8 +18,8 @@ class Config:
SQLALCHEMY_TRACK_MODIFICATIONS = False
''' ### Opaque ### '''
- OPAQUE_ADMIN = os.environ.get('OPAQUE_ADMIN')
- OPAQUE_STORAGE_DIRECTORY = '/mnt/opaque'
+ NOPAQUE_ADMIN = os.environ.get('NOPAQUE_ADMIN')
+ NOPAQUE_STORAGE = '/mnt/opaque'
@staticmethod
def init_app(app):
diff --git a/docker-compose.yml b/docker-compose.yml
index 8993aed7..22cccd88 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -13,14 +13,14 @@ services:
- 5000:5000
volumes:
- /mnt/opaque:/mnt/opaque
- - ./app:/home/opaque/app
- - ./logs:/home/opaque/logs
- - ./migrations:/home/opaque/migrations
- - ./tests:/home/opaque/tests
- - ./config.py:/home/opaque/config.py
+ - ./app:/home/nopaque/app
+ - ./logs:/home/nopaque/logs
+ - ./migrations:/home/nopaque/migrations
+ - ./tests:/home/nopaque/tests
+ - ./config.py:/home/nopaque/config.py
- ./docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
- - ./opaque.py:/home/opaque/opaque.py
- - ./requirements.txt:/home/opaque/requirements.txt
+ - ./nopaque.py:/home/nopaque/nopaque.py
+ - ./requirements.txt:/home/nopaque/requirements.txt
daemon:
depends_on:
- db
@@ -30,12 +30,12 @@ services:
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque_daemon:latest
volumes:
- /mnt/opaque:/mnt/opaque
- - ./logs:/home/opaque_daemon/logs
+ - ./logs:/home/nopaqued/logs
- ../opaque_daemon/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
- - ../opaque_daemon/opaque_daemon.py:/home/opaque_daemon/opaque_daemon.py
- - ../opaque_daemon/merge_corpus_files.py:/home/opaque_daemon/merge_corpus_files.py
- - ../opaque_daemon/requirements.txt:/home/opaque_daemon/requirements.txt
- - $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json
+ - ../opaque_daemon/nopaqued.py:/home/nopaqued/opaque_daemon.py
+ - ../opaque_daemon/merge_corpus_files.py:/home/nopaqued/merge_corpus_files.py
+ - ../opaque_daemon/requirements.txt:/home/nopaqued/requirements.txt
+ - $HOME/.docker/config.json:/home/nopaqued/.docker/config.json
db:
env_file: db.env
image: postgres:11
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh
index 3abf7198..dd7c6d6f 100755
--- a/docker-entrypoint.sh
+++ b/docker-entrypoint.sh
@@ -7,7 +7,7 @@ wait-for-it redis:6379 --strict --timeout=0
if [ $# -eq 0 ]
then
- venv/bin/python -u opaque.py
+ venv/bin/python -u nopaque.py
elif [ $1 == "flask" ]
then
echo "$@"
diff --git a/opaque.py b/nopaque.py
similarity index 100%
rename from opaque.py
rename to nopaque.py
diff --git a/web.env.tpl b/web.env.tpl
index 274698b7..09209c7e 100644
--- a/web.env.tpl
+++ b/web.env.tpl
@@ -10,5 +10,5 @@ MAIL_USERNAME=username@example.com
MAIL_PASSWORD=password
MAIL_DEFAULT_SENDER=username@example.com
-### Opaque ###
-OPAQUE_ADMIN=admin.opaque@example.com
+### nopaque ###
+NOPAQUE_ADMIN=admin.opaque@example.com