-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
52 lines (51 loc) · 1.22 KB
/
docker-compose.yaml
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
version: '3'
services:
influxdb:
image: influxdb
volumes:
- /opt/docker_compose/influxdb:/var/lib/influxdb
- /opt/docker_compose/influxdb_config:/etc/influxdb
ports:
- "8083:8083"
- "8086:8086"
- "2222:22"
environment:
- INFLUXDB_DB=jenkins
- INFLUXDB_ADMIN_USER=admin
- INFLUXDB_ADMIN_PASSWORD=admin
jenkins:
image: amioranza/jenkins:v1
volumes:
- /opt/docker_compose/jenkins:/var/jenkins_home
ports:
- "8080:8080"
- "50000:50000"
- "2223:22"
grafana:
image: grafana/grafana
volumes:
- /opt/docker_compose/grafana:/var/lib/grafana
ports:
- "3000:3000"
- "2224:22"
environment:
- HTTP_USER=admin
- HTTP_PASS=admin
- INFLUXDB_HOST=influxdb
- INFLUXDB_PORT=8086
- INFLUXDB_NAME=jenkins
- INFLUXDB_USER=admin
- INFLUXDB_PASS=admin
depends_on:
- influxdb
gitlab:
image: gitlab/gitlab-ce:latest
volumes:
- /opt/docker_compose/gitlab/config:/etc/gitlab
- /opt/docker_compose/gitlab/logs:/var/log/gitlab
- /opt/docker_compose/gitlab/data:/var/opt/gitlab
ports:
- "4443:443"
- "8088:80"
- "2227:22"
- "9090:9090"