-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yml
50 lines (50 loc) · 2.17 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '2'
services:
pitneybowesemailmigrationapplication-app:
image: pitneybowesemailmigrationapplication
environment:
- _JAVA_OPTIONS=-Xmx512m -Xms256m
- SPRING_PROFILES_ACTIVE=prod,swagger
- MANAGEMENT_METRICS_EXPORT_PROMETHEUS_ENABLED=true
- EUREKA_CLIENT_SERVICE_URL_DEFAULTZONE=http://admin:$${jhipster.registry.password}@jhipster-registry:8761/eureka
- SPRING_CLOUD_CONFIG_URI=http://admin:$${jhipster.registry.password}@jhipster-registry:8761/config
- SPRING_DATASOURCE_URL=jdbc:mysql://pitneybowesemailmigrationapplication-mysql:3306/pitneybowesemailmigrationapplication?useUnicode=true&characterEncoding=utf8&useSSL=false
- SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_OIDC_ISSUER_URI=http://keycloak:9080/auth/realms/jhipster
- SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OIDC_CLIENT_ID=web_app
- SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OIDC_CLIENT_SECRET=web_app
- JHIPSTER_SLEEP=30 # gives time for the JHipster Registry to boot before the application
- SPRING_DATA_JEST_URI=http://pitneybowesemailmigrationapplication-elasticsearch:9200
- SPRING_ELASTICSEARCH_REST_URIS=http://pitneybowesemailmigrationapplication-elasticsearch:9200
- SPRING_CLOUD_STREAM_KAFKA_BINDER_BROKERS=kafka
- SPRING_CLOUD_STREAM_KAFKA_BINDER_ZK_NODES=zookeeper
ports:
- 8080:8080
pitneybowesemailmigrationapplication-mysql:
extends:
file: mysql.yml
service: pitneybowesemailmigrationapplication-mysql
pitneybowesemailmigrationapplication-elasticsearch:
extends:
file: elasticsearch.yml
service: pitneybowesemailmigrationapplication-elasticsearch
kafka:
extends:
file: kafka.yml
service: kafka
environment:
- KAFKA_ADVERTISED_HOST_NAME=kafka
zookeeper:
extends:
file: kafka.yml
service: zookeeper
jhipster-registry:
extends:
file: jhipster-registry.yml
service: jhipster-registry
environment:
- SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_TYPE=native
- SPRING_CLOUD_CONFIG_SERVER_COMPOSITE_0_SEARCH_LOCATIONS=file:./central-config/docker-config/
keycloak:
extends:
file: keycloak.yml
service: keycloak