-
Notifications
You must be signed in to change notification settings - Fork 18
/
docker-compose.yml
97 lines (97 loc) · 2.64 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
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
version: '2'
services:
banzai-e2e:
image: docker.lco.global/banzai-e2e-data:1.3.0
container_name: banzai-e2e
network_mode: "bridge"
entrypoint:
- /bin/true
labels:
io.rancher.container.pull_image: always
io.rancher.container.start_once: 'true'
volumes:
- banzaie2e:/archive
logging:
options:
max-size: '100m'
max-file: '3'
banzai-fits-exchange:
image: rabbitmq:3.7.9
network_mode: "bridge"
container_name: banzai-fits-exchange
mem_limit: '1g'
logging:
options:
max-size: '100m'
max-file: '3'
banzai-redis:
image: redis:5.0.3
network_mode: "bridge"
container_name: banzai-redis
labels:
io.rancher.container.pull_image: always
mem_limit: '1g'
banzai-celery-workers:
image: ${DOCKER_IMG}
network_mode: "bridge"
container_name: banzai-celery-workers
entrypoint: ["celery", "-A", "banzai", "worker",
"--hostname", "banzai-celery-worker",
"-l", "debug", "-c", "4"]
mem_limit: '8g'
depends_on:
- banzai-redis
- banzai-fits-exchange
- banzai-e2e
links:
- banzai-redis:redis
volumes_from:
- banzai-e2e
environment:
RETRY_DELAY: "0"
TASK_HOST: "redis://redis:6379/0"
OBSERVATION_PORTAL_URL: "http://internal-observation-portal.lco.gtn/api/observations/"
OMP_NUM_THREADS: "2"
OPENTSDB_PYTHON_METRICS_TEST_MODE: "1"
labels:
io.rancher.container.pull_image: always
io.rancher.sidekicks: banzai-e2e
logging:
options:
max-size: '100m'
max-file: '3'
banzai-listener:
image: ${DOCKER_IMG}
network_mode: "bridge"
container_name: banzai-listener
mem_limit: '1g'
depends_on:
- banzai-redis
- banzai-fits-exchange
- banzai-e2e
links:
- banzai-fits-exchange:broker
- banzai-redis:redis
entrypoint: ["banzai_run_realtime_pipeline", "--fpack",
"--db-address=sqlite:////archive/engineering/test.db",
"--broker-url=broker"]
environment:
DB_ADDRESS: sqlite:////archive/engineering/test.db
TASK_HOST: "redis://redis:6379/0"
FITS_BROKER_URL: "broker"
OBSERVATION_PORTAL_URL: "http://internal-observation-portal.lco.gtn/api/observations/"
FITS_EXCHANGE: fits_files
FITS_BROKER: broker
OPENTSDB_PYTHON_METRICS_TEST_MODE: "1"
volumes_from:
- banzai-e2e
labels:
io.rancher.container.pull_image: always
io.rancher.sidekicks: banzai-e2e
logging:
options:
max-size: '100m'
max-file: '3'
volumes:
banzaie2e:
driver: local