forked from esnet/grafana-esnet-networkmap-panel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
49 lines (46 loc) · 1.53 KB
/
docker-compose.yaml
File metadata and controls
49 lines (46 loc) · 1.53 KB
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
services:
mitmproxy:
image: mitmproxy/mitmproxy
container_name: mitmproxy
tty: true
ports:
- 8080:8080/tcp
command: mitmdump --mode transparent --modify-headers "/Access-Control-Allow-Origin/*" --modify-headers "/X-Remote-User/remote" --modify-headers "/X-Forwarded-Host/grnoc-esnet-networkmap-panel:3000"
networks:
- esnet-networkmap-e2e-net
grafana:
# This sets the actual version to use
image: grafana/grafana:12.3.1
environment:
# Automatically install infinity plugin
- GF_INSTALL_PLUGINS=yesoreyeram-infinity-datasource
# Used just for redirecting via apache to point to the container
- GF_SERVER_ROOT_URL=http://jdmcnama-dev-8.grnoc.iu.edu/grafana
- GF_SERVER_SERVE_FROM_SUB_PATH=true
# Lets our plugin be allowed to be installed
- GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=grnoc-esnet-networkmap-panel
container_name: 'grnoc-esnet-networkmap-panel'
build:
context: ./.config
dockerfile: Dockerfile
# This doesn't work
args:
grafana_version: ${GRAFANA_VERSION:-12.3.1}
restart: always
ports:
- 3000:3000/tcp
volumes:
# Install local plugin into Grafana
- ./dist:/var/lib/grafana/plugins/grnoc-esnet-networkmap-panel
- ./provisioning:/etc/grafana/provisioning
networks:
- esnet-networkmap-e2e-net
networks:
esnet-networkmap-e2e-net:
name: esnet-networkmap-e2e-net
driver: bridge
ipam:
driver: default
config:
-
subnet: 192.168.2.0/24