forked from hazelcast/hazelcast-jet-code-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhazelcast.yml
22 lines (21 loc) · 817 Bytes
/
hazelcast.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: '2'
services:
hazelcast-jet:
image: hazelcast/hazelcast-jet
volumes:
- ./src/main/resources:/opt/hazelcast-jet/config/
environment:
- JAVA_OPTS=-Dhazelcast.config=/opt/hazelcast-jet/config/hazelcast.xml -Dgroup.name=hazelcast-jet-docker-compose
hazelcast-jet-submit:
image: hazelcast/hazelcast-jet
volumes:
- ./src/main/resources:/opt/hazelcast-jet/config/
- ./jars/:/jars/
environment:
- JAVA_OPTS=-Dhazelcast.client.config=/opt/hazelcast-jet/config/hazelcast-client.xml -Dhazelcast.member.address=hazelcast-jet -Dgroup.name=hazelcast-jet-docker-compose
- JOB_JAR=${JOB_JAR}
depends_on:
- hazelcast-jet
container_name: hazelcast-jet-submit
working_dir: /opt/hazelcast-jet/
entrypoint: ./submit.sh $JOB_JAR