forked from hazelcast/hazelcast-jet-demos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhazelcast.yml
35 lines (32 loc) · 1.04 KB
/
hazelcast.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
version: '2'
services:
mysql:
image: debezium/example-mysql
ports:
- "3306:3306"
environment:
- MYSQL_DATABASE=test
- MYSQL_USER=mysqluser
- MYSQL_PASSWORD=mysqlpw
- MYSQL_ROOT_PASSWORD=mysqlpw
hazelcast-jet:
image: hazelcast/hazelcast-jet:latest-snapshot
volumes:
- ./src/main/resources:/tmp/config/ #mount local config files to the container
environment:
- JAVA_OPTS=-Dhazelcast.config=/tmp/config/hazelcast.yaml
depends_on:
- mysql
hazelcast-jet-submit:
image: hazelcast/hazelcast-jet:latest-snapshot
volumes:
- ./src/main/resources:/tmp/config/ #mount local config files to the container
- ./jars/:/jars/ #mount local JAR files to the container
environment:
- JAVA_OPTS=-Dhazelcast.client.config=/tmp/config/hazelcast-client.yaml
- JOB_JAR=${JOB_JAR}
depends_on:
- hazelcast-jet
container_name: hazelcast-jet-submit
working_dir: /opt/hazelcast-jet/
entrypoint: jet -v submit $JOB_JAR