-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
115 lines (105 loc) · 2.78 KB
/
docker-compose.yaml
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
name: logboek-dataverwerkingen-demo
services:
munera:
image: ${MUNERA_IMAGE}
container_name: munera
build:
context: ./apps/munera
args:
- BUILD_COMMIT
ports:
- "127.0.0.1:${MUNERA_PORT}:${MUNERA_PORT}"
environment:
- MUNERA_PORT
- MUNERA_ALLOWED_HOSTS
- MUNERA_LOGBOEK_ENDPOINT
- MUNERA_CURRUS_URL
depends_on:
- munera-logboek
- currus
munera-logboek:
image: ${LOGBOEK_IMAGE}
container_name: munera-logboek
environment:
LISTEN_ADDRESS: "0.0.0.0:${MUNERA_LOGBOEK_PORT}"
STORAGE_TYPE: "cassandra"
STORAGE_CASSANDRA_SERVERS: "munera-cassandra:9042"
depends_on:
munera-cassandra:
condition: service_healthy
munera-cassandra:
image: ${CASSANDRA_IMAGE}
container_name: munera-cassandra
volumes:
- cassandra:/var/lib/cassandra
environment:
CASSANDRA_CLUSTER_NAME: logboek-munera
healthcheck:
test: ["CMD", "cqlsh", "-e", "describe keyspaces"]
interval: 5s
timeout: 5s
retries: 60
currus:
image: ${CURRUS_IMAGE}
container_name: currus
build:
context: ./apps/currus
args:
- BUILD_COMMIT
environment:
- LISTEN_ADDRESS=${CURRUS_LISTEN_ADDRESS}
- LOGBOEK_ENDPOINT=${CURRUS_LOGBOEK_ENDPOINT}
- LAMINA_URL=${CURRUS_LAMINA_URL}
depends_on:
- currus-logboek
- lamina
currus-logboek:
image: ${LOGBOEK_IMAGE}
container_name: currus-logboek
environment:
LISTEN_ADDRESS: "0.0.0.0:${CURRUS_LOGBOEK_PORT}"
STORAGE_TYPE: "sqlite"
STORAGE_SQLITE_PATH: /var/lib/logboek/logboek-currus.db
volumes:
- logboek:/var/lib/logboek
lamina:
image: ${LAMINA_IMAGE}
container_name: lamina
build:
context: ./apps/lamina
args:
- BUILD_COMMIT
environment:
- LISTEN_ADDRESS=${LAMINA_LISTEN_ADDRESS}
- LOGBOEK_ENDPOINT=${LAMINA_LOGBOEK_ENDPOINT}
depends_on:
- lamina-logboek
lamina-logboek:
image: ${LOGBOEK_IMAGE}
container_name: lamina-logboek
environment:
LISTEN_ADDRESS: "0.0.0.0:${LAMINA_LOGBOEK_PORT}"
STORAGE_TYPE: "sqlite"
STORAGE_SQLITE_PATH: /var/lib/logboek/logboek-lamina.db
volumes:
- logboek:/var/lib/logboek
grafana:
image: ${GRAFANA_IMAGE}
container_name: grafana
ports:
- "127.0.0.1:3000:3000"
volumes:
- ./apps/grafana/provisioning:/etc/grafana/provisioning
- ./apps/grafana/grafana.ini:/etc/grafana/grafana.ini
- grafana:/var/lib/grafana
- logboek:/var/lib/logboek
environment:
GF_INSTALL_PLUGINS: "frser-sqlite-datasource,hadesarchitect-cassandra-datasource"
networks:
default:
name: logboek-dataverwerkingen-demo
driver: bridge
volumes:
logboek:
cassandra:
grafana: