-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
81 lines (73 loc) · 1.65 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
72
73
74
75
76
77
78
79
80
81
version: '3'
services:
nextjs:
container_name: nextjs
build:
context: .
dockerfile: Dockerfile.dev
ports:
- "5000:5000"
volumes:
- /app/node_modules
- .:/app
# nextjs:
# image: 973347056683.dkr.ecr.ap-south-1.amazonaws.com/projecthub:latest
# container_name: nextjs
# restart: unless-stopped
# ports:
# - "5000:5000"
# ngnix:
# build:
# context: ./nginx
# dockerfile: Dockerfile
# ports:
# - "3000:3000"
prom-server:
image: prom/prometheus
container_name: prometheus
restart: unless-stopped
ports:
- "9090:9090"
volumes:
- ./prometheus-config.yml:/etc/prometheus/prometheus.yml
grafana:
image: grafana/grafana-oss
container_name: grafana
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- grafana-storage:/var/lib/grafana
grafana-loki:
image: grafana/loki:latest
container_name: grafana-loki
restart: unless-stopped
ports:
- "3100:3100"
volumes:
- loki-storage:/tmp/loki/
sonarqube:
image: sonarqube:latest
container_name: sonarqube
restart: unless-stopped
ports:
- "9000:9000"
volumes:
- sonarqube-storage:/opt/sonarqube/data
- SonarQube_extensions:/opt/SonarQube/extensions
- SonarQube_logs:/opt/SonarQube/logs
jenkins:
image: jenkins/jenkins:lts
container_name: jenkins
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- jenkins-storage:/var/jenkins_home
volumes:
grafana-storage:
loki-storage:
sonarqube-storage:
SonarQube_extensions:
SonarQube_logs:
jenkins-storage: