forked from prashantkalkar/cdc-pact-expert-talk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
66 lines (60 loc) · 1.38 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
version: '3'
services:
postgres:
image: postgres
healthcheck:
test: psql postgres --command "select 1" -U postgres
ports:
- "5432:5432"
networks:
- cdc-setup
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: postgres
volumes:
- "pact_postgres:/var/lib/postgresql/data"
broker_app:
image: dius/pact-broker
ports:
- "80:80"
networks:
- cdc-setup
environment:
PACT_BROKER_DATABASE_USERNAME: postgres
PACT_BROKER_DATABASE_PASSWORD: password
PACT_BROKER_DATABASE_HOST: postgres
PACT_BROKER_DATABASE_NAME: postgres
PACT_BROKER_WEBHOOK_SCHEME_WHITELIST: http https
jenkins:
image: cdc-expert-talk/jenkins-cdc
ports:
- "8080:8080"
- "50000:50000"
volumes:
- "jenkins_home:/var/jenkins_home"
- ~/.ssh:/var/jenkins_home/.ssh
networks:
- cdc-setup
environment:
- "JAVA_OPTS=-Xmx2g -Xms2g -Djenkins.install.runSetupWizard=false"
nexus-data:
image: sonatype/nexus
volumes:
- "nexus-repo"
networks:
- cdc-setup
mynexus:
image: sonatype/nexus
ports:
- "8081:8081"
volumes:
- "nexus-repo"
networks:
- cdc-setup
volumes:
jenkins_home:
nexus-repo:
pact_postgres:
networks:
cdc-setup: