forked from quipucords/yupana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
36 lines (35 loc) · 882 Bytes
/
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
version: '3.1'
services:
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
ports:
- "15432:5432"
db-host-inventory:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: insights
POSTGRES_USER: insights
POSTGRES_DB: insights
ports:
- "5432:5432"
grafana:
ports:
- '3000:3000'
container_name: grafana
environment:
- GF_SERVER_ROOT_URL=http://grafana.server.name
- GF_SECURITY_ADMIN_PASSWORD=secret
image: grafana/grafana
prometheus:
container_name: prometheus
ports:
- '9090:9090'
volumes:
- './scripts/config/prometheus.yml:/etc/prometheus/prometheus.yml'
image: prom/prometheus