-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
49 lines (44 loc) · 1.28 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
services:
grafana:
user: root
container_name: 'rhopen-mapgeo-panel'
build:
context: ./.config
args:
grafana_image: ${GRAFANA_IMAGE:-grafana-enterprise}
grafana_version: ${GRAFANA_VERSION:-11.3.0}
development: ${DEVELOPMENT:-false}
ports:
- 3003:3000/tcp
volumes:
- ./dist:/var/lib/grafana/plugins/rhopen-mapgeo-panel
- ./provisioning:/etc/grafana/provisioning
- .:/root/rhopen-mapgeo-panel
environment:
NODE_ENV: development
GF_LOG_FILTERS: plugin.rhopen-mapgeo-panel:debug
GF_LOG_LEVEL: debug
GF_DATAPROXY_LOGGING: 1
GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS: rhopen-mapgeo-panel
networks:
- loki_network
loki:
image: grafana/loki:2.9.2
ports:
- '3100:3100'
command: -config.file=/etc/loki/local-config.yaml
networks:
- loki_network
# Service Promtail
promtail:
image: grafana/promtail:2.9.2
container_name: promtail
volumes:
- /var/log:/var/log # Permet à Promtail de lire les logs du système hôte
- ./promtail-config.yml:/etc/promtail/config.yml # Chemin vers le fichier de configuration
command: -config.file=/etc/promtail/config.yml
networks:
- loki_network
networks:
loki_network:
driver: bridge