forked from debezium/debezium-examples
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
32 lines (32 loc) · 1.09 KB
/
docker-compose.yaml
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
version: '2.1'
services:
mailhog:
image: mailhog/mailhog
ports:
- 8025:8025
qa-db:
image: quay.io/debezium/example-postgres:${DEBEZIUM_VERSION}
ports:
- 5432:5432
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
qa-app:
image: debezium-examples/qa-app:${DEBEZIUM_VERSION}
build:
context: qa-app
dockerfile: src/main/docker/Dockerfile.jvm
ports:
- 8080:8080
links:
- qa-db
qa-camel:
image: debezium-examples/qa-camel:${DEBEZIUM_VERSION}
build:
context: qa-camel
links:
- qa-db
- mailhog
environment:
- JAVA_MAIN_CLASS=io.debezium.examples.camel.pipeline.Runner
- JAVA_OPTIONS=-Ddatabase.hostname=qa-db -Ddatabase.port=5432 -Ddatabase.user=postgres -Ddatabase.password=postgres -Ddatabase.dbname=postgres -Ddatabase.schema=inventory -Dsmtp.hostname=mailhog -Dsmtp.port=1025 -Dtwitter.consumerKey=$TWITTER_CONSUMER_KEY -Dtwitter.consumerSecret=$TWITTER_CONSUMER_SECRET -Dtwitter.accessToken=$TWITTER_ACCESS_TOKEN -Dtwitter.accessTokenSecret=$TWITTER_ACCESS_TOKEN_SECRET