Skip to content

Commit

Permalink
Start integrating export service.
Browse files Browse the repository at this point in the history
  • Loading branch information
meier-rene committed Dec 11, 2024
1 parent 0ebe835 commit 877b27b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ services:
volumes:
- "${MSP_LOCAL_PATH}${MSP}:${MSP}"

export-service:
image: quay.io/massbank/massbank3-export-service:latest
restart: always
ports:
- "${EXPORT_SERVICE_PORT}:8080"
environment:
- MB_DATA_DIRECTORY=/MassBank-data
volumes:
- "${MB_DATA_DIRECTORY}:/MassBank-data"

mb3frontend:
build:
context: ..
Expand Down
10 changes: 10 additions & 0 deletions compose/env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ MSP=/MassBank_NIST.msp
# Make the similarity service more verbose
SIMILARITY_SERVICE_VERBOSE=false

# ------------------------------
# Export service
# ------------------------------

# The port where the similarity service is exposed
EXPORT_SERVICE_PORT=8083

# The MassBank-data repository path
MB_DATA_DIRECTORY=/MassBank-data

# ----------------------
# Frontend configuration
# ----------------------
Expand Down

0 comments on commit 877b27b

Please sign in to comment.