forked from sapporo-wes/sapporo-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (40 loc) · 1.16 KB
/
docker-compose.yml
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
version: "3.5"
services:
app:
image: ghcr.io/sapporo-wes/sapporo-service:1.4.8
container_name: sapporo-service
volumes:
# The ones below are mounted for cwltool and DinD.
- ${PWD}/run:${PWD}/run
- /var/run/docker.sock:/var/run/docker.sock
- /tmp:/tmp
environment:
# Priority: [Command Line Argument] -> [Environment Variable] -> [Default Values]
# - SAPPORO_HOST=0.0.0.0 # Not available when using the uwsgi server.
# - SAPPORO_PORT=1122 # Not available when using the uwsgi server.
- SAPPORO_DEBUG=False
- SAPPORO_RUN_DIR=${PWD}/run
# - SAPPORO_DATA_REMOVE_OLDER_THAN_DAYS=30
# - SAPPORO_GET_RUNS=False
# - SAPPORO_RUN_ONLY_REGISTERED_WORKFLOWS=False
# - SAPPORO_ACCESS_CONTROL_ALLOW_ORIGIN=*
# - SAPPORO_URL_PREFIX=/
ports:
- 0.0.0.0:1122:1122
restart: on-failure
working_dir: /app
command:
[
"uwsgi",
"--yaml",
"/app/uwsgi.yml",
"--http",
"0.0.0.0:1122",
"--workers",
"1" # Number of workers to process http requests
]
networks:
- sapporo
networks:
sapporo:
name: sapporo-network