Skip to content

Commit 7cd0a41

Browse files
authored
Merge pull request #125 from t0mdavid-m/add_docker_compose
Add Docker Compose as Deployment Option
2 parents 592bb40 + c320944 commit 7cd0a41

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docker-compose.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: '3.8'
2+
3+
services:
4+
openms-streamlit-template:
5+
build:
6+
context: .
7+
dockerfile: Dockerfile
8+
args:
9+
GITHUB_TOKEN: $GITHUB_TOKEN
10+
image: openms_streamlit_template
11+
container_name: openms-streamlit-template
12+
restart: always
13+
ports:
14+
- 8501:8501
15+
volumes:
16+
- workspaces-streamlit-template:/workspaces-streamlit-template
17+
command: streamlit run openms-streamlit-template/app.py
18+
volumes:
19+
workspaces-streamlit-template:

0 commit comments

Comments
 (0)