Skip to content

Commit a9b6b3e

Browse files
author
Marcel Birkner
committed
update jenkins plugins, docker compose file
1 parent 67fb07d commit a9b6b3e

2 files changed

Lines changed: 27 additions & 78 deletions

File tree

docker-compose.yml

Lines changed: 25 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ services:
2121
volumes:
2222
- /var/run/docker.sock:/var/run/docker.sock
2323
- /usr/local/bin/docker:/usr/bin/docker
24+
- /opt/jenkins/:/var/lib/jenkins/
2425
depends_on:
2526
- nexus
2627
- gitlab
2728
- sonar
28-
- selhub
29+
- seleniumhub
2930
environment:
3031
- NEXUS_PORT=8081
3132
- SONAR_PORT=9000
@@ -49,101 +50,49 @@ services:
4950
environment:
5051
- POSTGRES_USER=sonar
5152
- POSTGRES_PASSWORD=sonar
53+
volumes:
54+
- /opt/postgres/data:/var/lib/postgresql/data
5255

53-
selhub:
56+
seleniumhub:
5457
image: selenium/hub
5558
ports:
56-
- 4444:4444
59+
- "4444:4444"
5760
networks:
5861
- prodnetwork
59-
6062
nodeff:
61-
image: selenium/node-firefox-debug
63+
image: selenium/node-firefox
6264
ports:
6365
- 5900
6466
networks:
6567
- prodnetwork
6668
environment:
67-
- HUB_PORT_4444_TCP_ADDR=selhub
69+
- HUB_PORT_4444_TCP_ADDR=seleniumhub
6870
depends_on:
69-
- selhub
70-
71+
- seleniumhub
7172
nodechrome:
72-
image: selenium/node-chrome-debug
73+
image: selenium/node-chrome
7374
ports:
7475
- 5900
7576
networks:
7677
- prodnetwork
7778
environment:
78-
- HUB_PORT_4444_TCP_ADDR=selhub
79+
- HUB_PORT_4444_TCP_ADDR=seleniumhub
7980
depends_on:
80-
- selhub
81+
- seleniumhub
8182

82-
db2:
83-
image: postgres
84-
environment:
85-
- POSTGRES_USER=gitlab
86-
- POSTGRES_PASSWORD=gitlab
87-
- POSTGRES_DB=gitlab
88-
networks:
89-
- prodnetwork
9083
gitlab:
91-
image: sameersbn/gitlab:8.3.2
92-
ports:
93-
- "10080:80"
94-
- "10022:22"
95-
networks:
96-
- prodnetwork
97-
depends_on:
98-
- db2
99-
- redis
84+
image: gitlab/gitlab-ce:8.9.6-ce.0
85+
restart: always
86+
hostname: '192.168.99.100'
10087
environment:
101-
- DB_HOST=db2
102-
- DB_NAME=gitlab
103-
- DB_USER=gitlab
104-
- DB_PASS=gitlab
105-
- REDIS_HOST=redis
106-
107-
- TZ=Europe/Madrid
108-
- GITLAB_TIMEZONE=Madrid
109-
110-
- GITLAB_SECRETS_DB_KEY_BASE=long-and-random-alphanumeric-string
111-
112-
- GITLAB_HOST=localhost
113-
- GITLAB_PORT=10080
114-
- GITLAB_SSH_PORT=10022
115-
116-
- GITLAB_NOTIFY_ON_BROKEN_BUILDS=true
117-
- GITLAB_NOTIFY_PUSHER=false
118-
119-
- GITLAB_EMAIL=notifications@example.com
120-
- GITLAB_EMAIL_REPLY_TO=noreply@example.com
121-
- GITLAB_INCOMING_EMAIL_ADDRESS=reply@example.com
122-
123-
- GITLAB_BACKUPS=daily
124-
- GITLAB_BACKUP_TIME=01:00
125-
126-
- SMTP_ENABLED=false
127-
- SMTP_DOMAIN=www.example.com
128-
- SMTP_HOST=smtp.gmail.com
129-
- SMTP_PORT=587
130-
- SMTP_USER=mailer@example.com
131-
- SMTP_PASS=password
132-
- SMTP_STARTTLS=true
133-
- SMTP_AUTHENTICATION=login
134-
135-
- IMAP_ENABLED=false
136-
- IMAP_HOST=imap.gmail.com
137-
- IMAP_PORT=993
138-
- IMAP_USER=mailer@example.com
139-
- IMAP_PASS=password
140-
- IMAP_SSL=true
141-
- IMAP_STARTTLS=false
142-
volumes:
143-
- /srv/docker/gitlab/gitlab:/home/git/data
144-
redis:
145-
image: sameersbn/redis:latest
146-
networks:
147-
- prodnetwork
88+
GITLAB_OMNIBUS_CONFIG: |
89+
# external_url 'https://gitlab.example.com'
90+
# Add any other gitlab.rb configuration here, each on its own line
91+
ports:
92+
- "80:80"
93+
- "443:443"
94+
- "2222:22"
14895
volumes:
149-
- /srv/docker/gitlab/redis:/var/lib/redis
96+
- /opt/gitlab/config:/etc/gitlab
97+
- /opt/gitlab/logs:/var/log/gitlab
98+
- /opt/gitlab/data:/var/opt/gitlab

jenkins/plugins.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ chucknorris:1.0
1919
xvfb:1.1.2
2020
ws-cleanup:0.28
2121
ansicolor:0.4.2
22-
junit:1.10
23-
xunit:1.100
22+
junit:1.15
23+
xunit:1.102
2424
docker-build-publish:1.1
2525
docker-commons:1.3
2626
cloudbees-folder:5.1

0 commit comments

Comments
 (0)