-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathcompose.dev.yml
34 lines (33 loc) · 942 Bytes
/
compose.dev.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
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
- ${PWD}/pyproject.toml:/app/pyproject.toml
- ${PWD}/sapporo-wes-spec-2.0.0.yml:/app/sapporo-wes-spec-2.0.0.yml
# The ones below are mounted for cwltool and DinD.
- ${PWD}/runs:${PWD}/runs
- /var/run/docker.sock:/var/run/docker.sock
- /tmp:/tmp
environment:
# Priority: [CLI Args] -> [Env Vals] -> [Defaults]
- SAPPORO_HOST=0.0.0.0
- SAPPORO_PORT=1122
- SAPPORO_DEBUG=True
- SAPPORO_RUN_DIR=${PWD}/runs
ports:
- 127.0.0.1:1122:1122
restart: always
working_dir: /app
command: [ "sleep", "infinity" ]
networks:
- sapporo-dev-network
init: true
networks:
sapporo-dev-network:
name: sapporo-dev-network