-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
78 lines (78 loc) · 2.81 KB
/
Copy pathdocker-compose.yml
File metadata and controls
78 lines (78 loc) · 2.81 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
services:
waveform-controller:
build:
context: ..
dockerfile: waveform-controller/Dockerfile
target: waveform_controller
args:
HTTP_PROXY: ${HTTP_PROXY}
http_proxy: ${http_proxy}
HTTPS_PROXY: ${HTTPS_PROXY}
https_proxy: ${https_proxy}
# ideally we'd use docker secrets but it's not enabled currently
env_file:
- ../config/controller.env
volumes:
- ../waveform-export:/waveform-export
restart: unless-stopped
waveform-exporter:
build:
context: ..
dockerfile: waveform-controller/Dockerfile
target: waveform_exporter
args:
HTTP_PROXY: ${HTTP_PROXY}
http_proxy: ${http_proxy}
HTTPS_PROXY: ${HTTPS_PROXY}
https_proxy: ${https_proxy}
# Set to 1 in integration tests so COVERAGE_PROCESS_START can collect data.
# Default 0 keeps production/dev images free of the coverage package.
INSTALL_COVERAGE: ${INSTALL_COVERAGE:-0}
# ideally we'd use docker secrets but it's not enabled currently
env_file:
- ../config/exporter.env
volumes:
- ../waveform-export:/waveform-export
# because we're launching through cron in the container, which starts
# processes with a clean environment, also mount in the config file so
# it can be read in by snakemake later
- ../config/exporter.env:/config/exporter.env:ro
restart: unless-stopped
waveform-hasher:
build:
context: ../PIXL
dockerfile: ./docker/pixl-python/Dockerfile
target: hasher_api
args:
PIXL_PACKAGE_DIR: hasher
HTTP_PROXY: ${HTTP_PROXY}
http_proxy: ${http_proxy}
HTTPS_PROXY: ${HTTPS_PROXY}
https_proxy: ${https_proxy}
ports:
# this is only here as a convenience for testing, we don't actually use it from the exporter
- "127.0.0.1::8000"
env_file:
- ../config/hasher.env
restart: unless-stopped
waveform-monitoring:
# This service exists as a partly temporary measure, covering a few different cases:
# * Until LGTM on the GAE can tell us disk free amount for /gae
# * Stats on HL7 bz2 files on disk. Arguably done better in Emap but
# I'm putting all the telemetry in one project for now.
# * Disk usage stats for the waveform processing (CSVs, parquets, etc). This will likely stay here.
build:
context: .
dockerfile: monitoring/Dockerfile
args:
HTTP_PROXY: ${HTTP_PROXY}
http_proxy: ${http_proxy}
HTTPS_PROXY: ${HTTPS_PROXY}
https_proxy: ${https_proxy}
env_file:
- ../config/monitoring.env
volumes:
# we are assuming this FS layout to emap saved messages
- ../../waveform-saved-messages:/waveform-saved-messages:ro
- ../waveform-export:/waveform-export:ro
restart: unless-stopped