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