forked from sapporo-wes/sapporo-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
32 lines (31 loc) · 917 Bytes
/
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
version: "3.5"
services:
app:
image: ghcr.io/sapporo-wes/sapporo-service:1.6.1
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
- SAPPORO_PORT=1122
- 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:
- 127.0.0.1:1122:1122
restart: on-failure
working_dir: /app
command: [ "sapporo" ]
networks:
- sapporo
networks:
sapporo:
name: sapporo-network