forked from distributed-system-analysis/sarjitsu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.hub_packaged.yml
72 lines (66 loc) · 1.4 KB
/
docker-compose.hub_packaged.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
version: '2'
services:
redis:
image: "redis:alpine"
metricstore:
env_file: .env
image: arcolife/sarjitsu:metricstore_official
expose:
- "${DB_PORT}"
environment:
- POSTGRESQL_PASSWORD=${DB_PASSWORD}
- POSTGRESQL_USER=${DB_USER}
- POSTGRESQL_DATABASE=${DB_NAME}
ports:
- "${METRICSTORE_PORT_MAPPING}:${DB_PORT}"
datasource:
env_file: .env
image: arcolife/sarjitsu:elasticsearch
ports:
- "${DATASOURCE_PORT_MAPPING}:${ES_PORT}"
frontend:
env_file: .env
image: arcolife/sarjitsu:grafana
ports:
- "${FRONTEND_PORT_MAPPING}:${GRAFANA_PORT}"
links:
- metricstore
- datasource
depends_on:
- metricstore
- datasource
middleware:
env_file: .env
image: arcolife/sarjitsu:api
ports:
- "${MIDDLEWARE_PORT_MAPPING}:${MIDDLEWARE_PORT}"
depends_on:
- datasource
links:
- datasource
- metricstore
web:
restart: always
env_file: .env
image: sarjitsu:backend
ports:
- "${BACKEND_PORT_MAPPING}:${BACKEND_SERVER_PORT}"
depends_on:
- metricstore
- datasource
- redis
- frontend
- middleware
links:
- metricstore
- datasource
- frontend
- middleware
- redis
nginx:
restart: always
image: arcolife/sarjitsu:proxy
ports:
- "${PROXY_PORT_MAPPING}:${PROXY_PORT}"
links:
- web:web