-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
82 lines (76 loc) · 1.9 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
82
version: "2"
services:
sonarqube:
image: sonarqube
restart: always
ports:
- "9000:9000"
networks:
- cinet
environment:
- SONARQUBE_JDBC_URL=jdbc:postgresql://db:5432/sonar
- SONARQUBE_JDBC_USERNAME=sonar
- SONARQUBE_JDBC_PASSWORD=sonar
volumes:
- ./sonarqube_conf:/opt/sonarqube/conf
- ./sonarqube_data:/opt/sonarqube/data
- ./sonarqube_extensions:/opt/sonarqube/extensions
- ./sonarqube_bundled-plugins:/opt/sonarqube/lib/bundled-plugins
db:
image: postgres:9.3
restart: always
networks:
- cinet
environment:
- POSTGRES_USER=sonar
- POSTGRES_PASSWORD=sonar
- POSTGRES_ENCODING=UNICODE
- POSTGRES_COLLATE=C
- POSTGRES_COLLATE_TYPE=C
volumes:
- ./add-jira-db.sh:/docker-entrypoint-initdb.d/add-jira-db.sh
- ./postgresql_data:/var/lib/postgresql/data
gitlab:
image: 'gitlab/gitlab-ce:latest'
restart: always
hostname: 'gitlab.do'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'http://gitlab.do:9090'
gitlab_rails['gitlab_shell_ssh_port'] = 2224
ports:
- '9090:9090'
- '2224:22'
volumes:
- ./gitlab_conf:/etc/gitlab
- ./gitlab_logs:/var/log/gitlab
- ./gitlab_data:/var/opt/gitlab
jira:
image: blacklabelops/jira
networks:
- cinet
volumes:
- ./jira_data:/var/atlassian/jira
ports:
- '8080:8080'
environment:
- 'JIRA_DATABASE_URL=postgresql://jira@db/jira'
- 'JIRA_DB_PASSWORD=jira'
- 'CATALINA_OPTS= -Xms384m -Xmx1g'
- 'JIRA_PROXY_NAME='
- 'JIRA_PROXY_PORT='
- 'JIRA_PROXY_SCHEME='
- 'JIRA_DELAYED_START=10'
networks:
cinet:
driver: bridge
#volumes:
# sonarqube_conf:
# sonarqube_data:
# sonarqube_extensions:
# sonarqube_bundled-plugins:
# postgresql_data:
# gitlab_conf:
# gitlab_logs:
# gitlab_data:
# jira_data: