-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
25 lines (25 loc) · 945 Bytes
/
docker-compose.yml
File metadata and controls
25 lines (25 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
services:
openms-streamlit-template:
build:
context: .
dockerfile: Dockerfile
args:
GITHUB_TOKEN: $GITHUB_TOKEN
image: openms_streamlit_template
container_name: openms-streamlit-template
restart: always
ports:
- 8501:8501
volumes:
- workspaces-streamlit-template:/workspaces-streamlit-template
# Optional: bind-mount a host directory of MS data files at the path
# that `local_data_dir` in settings.json points to (the Docker image
# defaults this to /mounted-data). When the directory exists at
# runtime, the upload page shows an in-app file browser for it.
# - /path/on/host:/mounted-data:ro
environment:
# Number of Streamlit server instances (default: 1 = no load balancer).
# Set to >1 to enable nginx load balancing across multiple Streamlit instances.
- STREAMLIT_SERVER_COUNT=1
volumes:
workspaces-streamlit-template: