mirror of
https://github.com/samply/bridgehead.git
synced 2025-12-08 08:34:26 +01:00
refactor
This commit is contained in:
@@ -2,4 +2,5 @@
|
|||||||
|
|
||||||
if [ -n "$ENABLE_OMICS" ];then
|
if [ -n "$ENABLE_OMICS" ];then
|
||||||
OVERRIDE+=" -f ./$PROJECT/modules/itcc-omics-ingest.yaml"
|
OVERRIDE+=" -f ./$PROJECT/modules/itcc-omics-ingest.yaml"
|
||||||
|
GENERATE_API_KEY="$(generate_simple_password 'omics')"
|
||||||
fi
|
fi
|
||||||
@@ -2,14 +2,11 @@ services:
|
|||||||
omics-endpoint:
|
omics-endpoint:
|
||||||
build: .
|
build: .
|
||||||
image: ghcr.io/samply/itcc-omics-ingest:pr-3
|
image: ghcr.io/samply/itcc-omics-ingest:pr-3
|
||||||
ports:
|
|
||||||
- "6080:6080"
|
|
||||||
environment:
|
environment:
|
||||||
- UPLOAD_DIR=/data/uploads
|
- API_KEY=${GENERATE_API_KEY}
|
||||||
- API_KEY=omics
|
|
||||||
- RUST_LOG=trace
|
- RUST_LOG=trace
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/docker/data:/data/uploads
|
- /var/cache/bridgehead/omics/data:/data/uploads
|
||||||
labels:
|
labels:
|
||||||
- "traefik.http.routers.omics.rule=Host(`${HOST}`) && PathPrefix(`/api/omics`)"
|
- "traefik.http.routers.omics.rule=Host(`${HOST}`) && PathPrefix(`/api/omics`)"
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
|||||||
Reference in New Issue
Block a user