forked from sapporo-wes/sapporo-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev.yml
More file actions
37 lines (36 loc) · 1.01 KB
/
compose.dev.yml
File metadata and controls
37 lines (36 loc) · 1.01 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
version: "3.5"
services:
app:
build:
context: .
dockerfile: Dockerfile-dev
image: sapporo-service-dev
container_name: sapporo-service-dev
volumes:
- ${PWD}/sapporo:/app/sapporo
- ${PWD}/tests:/app/tests
# 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=True
- SAPPORO_RUN_DIR=${PWD}/run
# - SAPPORO_DATA_REMOVE_OLDER_THAN_DAYS=30
# - SAPPORO_GET_RUNS=True
# - 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: [ "sleep", "infinity" ]
networks:
- sapporo
networks:
sapporo:
name: sapporo-network