-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yml
26 lines (26 loc) · 841 Bytes
/
app.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
version: '2'
services:
jhipster-app:
image: jhipster
environment:
- SPRING_PROFILES_ACTIVE=prod,swagger
- SPRING_DATASOURCE_URL=jdbc:postgresql://jhipster-postgresql:5432/jhipster
- JHIPSTER_SLEEP=10 # gives time for the database to boot before the application
- SPRING_CLOUD_STREAM_KAFKA_BINDER_BROKERS=kafka
- SPRING_CLOUD_STREAM_KAFKA_BINDER_ZK_NODES=zookeeper
ports:
- 8080:8080
jhipster-postgresql:
extends:
file: postgresql.yml
service: jhipster-postgresql
kafka:
extends:
file: kafka.yml
service: kafka
environment:
- KAFKA_ADVERTISED_HOST_NAME=kafka
zookeeper:
extends:
file: kafka.yml
service: zookeeper