+
+ gateway:
+ image: juplo/sumup-gateway:1.0-SNAPSHOT
+ ports:
+ - 8080:8080
+ environment:
+ server.port: 8080
+ sumup.gateway.bootstrap-server: kafka:9092
+ sumup.gateway.client-id: gateway
+ sumup.gateway.topic: in
+
+ requests:
+ image: juplo/sumup-requests:1.0-SNAPSHOT
+ ports:
+ - 8081:8080
+ environment:
+ server.port: 8080
+ sumup.requests.bootstrap-server: kafka:9092
+ sumup.requests.client-id: requests
+
+ adder:
+ image: juplo/sumup-adder:1.0-SNAPSHOT
+ ports:
+ - 8082:8080
+ environment:
+ server.port: 8080
+ sumup.adder.bootstrap-server: kafka:9092
+ sumup.adder.client-id: adder
+ spring.data.mongodb.uri: mongodb://juplo:training@mongo:27017
+ spring.data.mongodb.database: juplo
+
+ peter:
+ image: juplo/toolbox
+ command: >
+ bash -c "
+ while [[ true ]];
+ do
+ echo 666 | http -v gateway:8080/peter;
+ sleep 1;
+ done
+ "
+ ute:
+ image: juplo/toolbox
+ command: >
+ bash -c "
+ while [[ true ]];
+ do
+ echo 666 | http -v gateway:8080/ute;
+ sleep 2;
+ done
+ "
+ franz:
+ image: juplo/toolbox
+ command: >
+ bash -c "
+ while [[ true ]];
+ do
+ echo 666 | http -v gateway:8080/franz;
+ sleep 3;
+ done
+ "
+ beate:
+ image: juplo/toolbox
+ command: >
+ bash -c "
+ while [[ true ]];
+ do
+ echo 666 | http -v gateway:8080/beate;
+ sleep 4;
+ done
+ "
+ klaus:
+ image: juplo/toolbox
+ command: >
+ bash -c "
+ while [[ true ]];
+ do
+ echo 666 | http -v gateway:8080/klaus;
+ sleep 5;
+ done
+ "
+ uschi:
+ image: juplo/toolbox
+ command: >
+ bash -c "
+ while [[ true ]];
+ do
+ echo 666 | http -v gateway:8080/uschi;
+ sleep 6;
+ done
+ "