-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
43 lines (41 loc) · 1.41 KB
/
docker-compose.yaml
File metadata and controls
43 lines (41 loc) · 1.41 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: "3"
services:
pipelines: # Pipelines
build:
context: ./pipelines
# Change volumes to your path
# /your-git-clone-folder/snakemake-gui-controller/pipelines:/pipeline_controller/pipelines
volumes:
- /Users/junheeyoon/Desktop/OpenKBC/snakemake-gui-controller/pipelines:/pipeline_controller/pipelines
ports:
- 80:5000
depends_on:
- redis
working_dir: /pipeline_controller
command: conda run -vv -n pipeline_controller_base gunicorn --bind 0.0.0.0:5000 --workers 2 --threads 4 --worker-class gthread connector:app
#command: tail -f /dev/null #(Testing purpose)
container_name: snakemakeController
redis: # redis
image: redis:alpine
command: redis-server
ports:
- 6379:6379
container_name: scRedisServer
celery: # celery
build:
context: ./pipelines
# Change volumes to your path
# /your-git-clone-folder/snakemake-gui-controller/pipelines:/pipeline_controller/pipelines
volumes:
- /Users/junheeyoon/Desktop/OpenKBC/snakemake-gui-controller/pipelines:/pipeline_controller/pipelines
deploy:
resources:
limits:
memory: 8000m
working_dir: /pipeline_controller
command: conda run -vv -n pipeline_controller_base celery -A app.celery worker --loglevel=info
#command: tail -f /dev/null #(Testing purpose)
depends_on:
- redis
- pipelines
container_name: scCeleryContainer