-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (55 loc) · 1.65 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
version: '3.4'
services:
pilote-fne-main:
image: transitionbibliographique/pilote-fne:main-pilote-fne
container_name: pilote-fne-batch
restart: "no"
mem_limit: ${MEM_LIMIT}
volumes:
- ${DUMP}:/dump
environment:
- "JAVA_OPTS=-Xmx2G"
- GF_SERVER_DOMAIN=localhost
ports:
- "28080:28080"
extra_hosts:
- "host.docker.internal:host-gateway"
pilote-fne-prometheus:
image: prom/prometheus:v2.38.0
container_name: pilote-fne-prometheus
restart: unless-stopped
mem_limit: ${MEM_LIMIT}
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "29090:9090"
extra_hosts:
- "host.docker.internal:host-gateway"
pilote-fne-mysqld-exporter:
image: prom/mysqld-exporter
container_name: pilote-fne-mysqld-exporter
restart: unless-stopped
mem_limit: ${MEM_LIMIT}
environment:
DATA_SOURCE_NAME: "root:${MYSQL_ROOT_PASSWORD}@(host.docker.internal:23306)/my_wiki"
ports:
- "29104:9104"
extra_hosts:
- "host.docker.internal:host-gateway"
pilote-fne-grafana:
image: grafana/grafana-oss:9.1.4
container_name: pilote-fne-grafana
restart: unless-stopped
mem_limit: ${MEM_LIMIT}
volumes:
- ./grafana/datasources:/etc/grafana/provisioning/datasources
- ./grafana/dashboards:/etc/grafana/provisioning/dashboards
depends_on:
- pilote-fne-prometheus
ports:
- "23000:3000"
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_SERVER_DOMAIN=localhost
extra_hosts:
- "host.docker.internal:host-gateway"