-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
71 lines (66 loc) · 1.88 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
61
62
63
64
65
66
67
68
69
70
71
services:
cloud_scanner:
container_name: "cloud_scanner_boa"
hostname: cloud_scanner
image: ghcr.io/boavizta/cloud-scanner-cli:3.2.0
command:
- -b http://boavizta_api:5000
- -vv
- serve
environment:
- AWS_PROFILE=${AWS_PROFILE:-default}
- ROCKET_ADDRESS=0.0.0.0
- ROCKET_PORT=8000
volumes:
- $HOME/.aws:/root/.aws:ro
# Uncomment the following line to use your local CA
# - /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt
ports:
- "8000:8000"
networks:
- network_boa
depends_on:
- boavizta_api
grafana:
container_name: "grafana_boa"
hostname: grafana
image: docker.io/grafana/grafana:11.2.3
ports:
- "3001:3000"
volumes:
- ./dashboard-config/provisioning:/etc/grafana/provisioning
- ./dashboard-config/provisioning/dashboards/grafana-dashboard-cloud-impacts.template.json:/var/lib/grafana/dashboards/grafana-dashboard-cloud-impacts.template.json
- grafana-data:/var/lib/grafana
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH=/var/lib/grafana/dashboards/grafana-dashboard-cloud-impacts.template.json
networks:
- network_boa
depends_on:
- prometheus
prometheus:
container_name: "prometheus_boa"
hostname: prometheus
image: docker.io/prom/prometheus:v2.51.0
volumes:
- ./dashboard-config/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- prometheus-data:/prometheus
ports:
- "9090:9090"
networks:
- network_boa
depends_on:
- cloud_scanner
boavizta_api:
container_name: "boavizta_api"
hostname: boavizta
image: ghcr.io/boavizta/boaviztapi:1.3.7
ports:
- "5000:5000"
networks:
- network_boa
volumes:
prometheus-data:
grafana-data:
networks:
network_boa: