mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Remove hardcoded values
This commit is contained in:
parent
5069c5facd
commit
0f28b6296d
@ -20,7 +20,7 @@ class Config:
|
||||
|
||||
''' ### Opaque ### '''
|
||||
NOPAQUE_ADMIN = os.environ.get('NOPAQUE_ADMIN')
|
||||
NOPAQUE_STORAGE = '/mnt/dind_swarm/nopaque'
|
||||
NOPAQUE_STORAGE = os.environ.get('NOPAQUE_STORAGE')
|
||||
|
||||
@staticmethod
|
||||
def init_app(app):
|
||||
|
@ -21,7 +21,7 @@ services:
|
||||
- default
|
||||
- reverse-proxy
|
||||
volumes:
|
||||
- "/mnt/dind_swarm/nopaque:/mnt/dind_swarm/nopaque"
|
||||
- "/mnt/dind-swarm/nopaque:/mnt/dind-swarm/nopaque"
|
||||
- "./app:/home/nopaque/app"
|
||||
- "./logs:/home/nopaque/logs"
|
||||
- "./migrations:/home/nopaque/migrations"
|
||||
@ -38,7 +38,7 @@ services:
|
||||
- "host.docker.internal:172.17.0.1"
|
||||
image: gitlab.ub.uni-bielefeld.de:4567/sfb1288inf/opaque_daemon:latest
|
||||
volumes:
|
||||
- "/mnt/dind_swarm/nopaque:/mnt/dind_swarm/nopaque"
|
||||
- "/mnt/dind-swarm/nopaque:/mnt/dind-swarm/nopaque"
|
||||
- "./logs:/home/nopaqued/logs"
|
||||
- "../opaque_daemon/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh"
|
||||
- "../opaque_daemon/nopaqued.py:/home/nopaqued/nopaqued.py"
|
||||
|
Loading…
Reference in New Issue
Block a user