Skip to content

Commit

Permalink
fix: test template for 2nd call
Browse files Browse the repository at this point in the history
  • Loading branch information
fdelbrayelle committed Jun 6, 2020
1 parent cc3d58c commit 80711cb
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: '2'
services:
message_broker_with_entities-app:
image: message_broker_with_entities
environment:
- _JAVA_OPTIONS=-Xmx512m -Xms256m
- SPRING_PROFILES_ACTIVE=prod,swagger
- MANAGEMENT_METRICS_EXPORT_PROMETHEUS_ENABLED=true
- SPRING_DATASOURCE_URL=jdbc:mysql://message_broker_with_entities-mysql:3306/message_broker_with_entities?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true
- JHIPSTER_SLEEP=30 # gives time for other services to boot before the application
- KAFKA_BOOTSTRAP_SERVERS=kafka:29092
ports:
- 8080:8080
message_broker_with_entities-mysql:
extends:
file: mysql.yml
service: message_broker_with_entities-mysql
kafka:
extends:
file: kafka.yml
service: kafka
environment:
- KAFKA_ADVERTISED_HOST_NAME=kafka
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:29092,PLAINTEXT_HOST://localhost:9092
zookeeper:
extends:
file: kafka.yml
service: zookeeper

0 comments on commit 80711cb

Please sign in to comment.