-
Notifications
You must be signed in to change notification settings - Fork 797
/
Copy pathdocker-compose.yml
58 lines (54 loc) · 1.38 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
services:
keep-frontend:
extends:
file: docker-compose.common.yml
service: keep-frontend-common
image: us-central1-docker.pkg.dev/keephq/keep/keep-ui
environment:
- AUTH_TYPE=NO_AUTH
- API_URL=http://keep-backend:8080
volumes:
- ./state:/state
depends_on:
- keep-backend
keep-backend:
extends:
file: docker-compose.common.yml
service: keep-backend-common
image: us-central1-docker.pkg.dev/keephq/keep/keep-api
environment:
- AUTH_TYPE=NO_AUTH
volumes:
- ./state:/state
keep-websocket-server:
extends:
file: docker-compose.common.yml
service: keep-websocket-server-common
grafana:
image: grafana/grafana:latest
profiles:
- grafana
ports:
- "3001:3000"
volumes:
- ./grafana:/var/lib/grafana
- ./grafana/provisioning:/etc/grafana/provisioning
- ./grafana/dashboards:/etc/grafana/dashboards
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_USERS_ALLOW_SIGN_UP=false
depends_on:
- prometheus
prometheus:
image: prom/prometheus:latest
profiles:
- grafana
ports:
- "9090:9090"
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
command:
- "--config.file=/etc/prometheus/prometheus.yml"
depends_on:
- keep-backend