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