-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (49 loc) · 924 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: '2'
services:
registry:
image: registry:latest
restart: always
volumes:
- registry_lib:/var/lib/registry
networks:
- net
ports:
- "${REGISTRY_PORT}:5000"
gitlab:
image: gitlab/gitlab-ce:latest
depends_on:
- registry
restart: always
volumes:
- gitlab_etc:/etc/gitlab
- gitlab_data:/var/opt/gitlab
networks:
- net
ports:
- "${GITLAB_SSH}:22"
- "${GITLAB_HTTP}:80"
- "${GITLAB_SSL}:443"
jenkins:
image: jenkins/jenkins:lts
depends_on:
- registry
- gitlab
restart: always
volumes:
- jenkins_home:/var/jenkins_home
networks:
- net
ports:
- "${JENKINS_HTTP}:8080"
volumes:
registry_lib:
external: false
jenkins_home:
external: false
gitlab_etc:
external: false
gitlab_data:
external: false
networks:
net:
external: false