Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 12, 2024. It is now read-only.
/devops-composePublic archive

Commitc2f596a

Browse files
committed
Add crowd
1 parentea4b49f commitc2f596a

File tree

4 files changed

+53
-9
lines changed

4 files changed

+53
-9
lines changed

‎README.md‎

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
A compose of following Docker containers:
44

5+
* Crowd
56
* JIRA software
67
* Confluence
78
* GitBucket
@@ -74,6 +75,23 @@ A *.example.com. 192.168.1.2.
7475
Openhttp://devops.example.com (concatenate`devops` and domain name).
7576

7677

78+
###Setup Crowd
79+
80+
Open Crowd and configure the database connection.
81+
82+
- Database server:`db`
83+
- Type: PostgreSQL
84+
- Database name:`crowd`
85+
- User:`crowd`
86+
- Password:`crowd`
87+
88+
Add the LDAP directory.
89+
90+
- URL:`ldap://ldap:389/`
91+
- Base DN:`dc=example,dc=com`
92+
- Username:`cn=admin,dc=example,dc=com`
93+
- Password:`admin`
94+
7795
###Setup JIRA
7896

7997
Open JIRA and configure the database connection.
@@ -84,14 +102,7 @@ Open JIRA and configure the database connection.
84102
- User:`jira`
85103
- Password:`jira`
86104

87-
Configure LDAP authentication and create a user.
88-
89-
- LDAP server:`ldap`
90-
- Admin DN:`cn=admin,dc=example,dc=com` with`admin`
91-
- Base DN:`dc=example,dc=com`
92-
- User attribute:`cn`
93-
- Name attribute:`displayName`
94-
- Mail attribute:`mail`
105+
Add the Crowd server.
95106

96107
###Setup Confluence
97108

@@ -103,7 +114,7 @@ Open Confluence and configure the database connection.
103114
- User:`confluence`
104115
- Password:`confluence`
105116

106-
Configure an application link to JIRA.
117+
Add the Crowd server.
107118

108119
###Setup Jenkins
109120

‎docker-compose.yml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ services:
88
environment:
99
REVERSE_PROXY_DOMAIN_NAME:${REVERSE_PROXY_DOMAIN_NAME}
1010

11+
crowd:
12+
image:blacklabelops/crowd
13+
volumes:
14+
-crowd-data:/var/atlassian/crowd
15+
environment:
16+
CROWD_URL:http://localhost:8095/crowd
17+
CROWD_PROXY_NAME:crowd.${REVERSE_PROXY_DOMAIN_NAME}
18+
CROWD_PROXY_PORT:443
19+
CROWD_PROXY_SCHEME:https
20+
CROWD_PROXY_SECURE:"true"
21+
LOGIN_BASE_URL:https://crowd.${REVERSE_PROXY_DOMAIN_NAME}
22+
CROWD_CONTEXT:crowd
23+
1124
jira:
1225
image:cptactionhank/atlassian-jira-software
1326
environment:
@@ -99,6 +112,8 @@ services:
99112
hard:65536
100113

101114
volumes:
115+
crowd-data:
116+
driver:local
102117
jira-data:
103118
driver:local
104119
jira-logs:

‎nginx/nginx.conf‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ server {
1010
}
1111
}
1212

13+
server{
14+
server_name crowd.REVERSE_PROXY_DOMAIN_NAME;
15+
location /{
16+
proxy_passhttp://crowd:8095;
17+
proxy_set_header Host$host;
18+
proxy_set_header X-Real-IP$remote_addr;
19+
proxy_set_header X-Forwarded-Proto$scheme;
20+
proxy_set_header X-Forwarded-Host$host:$server_port;
21+
proxy_set_header X-Forwarded-Server$host;
22+
proxy_set_header X-Forwarded-For$proxy_add_x_forwarded_for;
23+
}
24+
}
25+
1326
server{
1427
server_name jira.REVERSE_PROXY_DOMAIN_NAME;
1528
location /{

‎postgres/create-database.sql‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-- Crowd
2+
CREATEUSERcrowd PASSWORD'crowd';
3+
CREATEDATABASEcrowd;
4+
GRANT ALL PRIVILEGESON DATABASE crowd TO crowd;
5+
16
-- JIRA
27
-- https://confluence.atlassian.com/adminjiraserver072/connecting-jira-applications-to-postgresql-828787559.html
38
CREATEUSERjira PASSWORD'jira';

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp