-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yml
19 lines (19 loc) · 859 Bytes
/
app.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
version: '2'
services:
jhipstersampleapplication-app:
image: jhipstersampleapplication
environment:
- SPRING_PROFILES_ACTIVE=prod,swagger
- SPRING_DATASOURCE_URL=jdbc:mysql://jhipstersampleapplication-mysql:3306/jhipstersampleapplication?useUnicode=true&characterEncoding=utf8&useSSL=false
- JHIPSTER_SLEEP=10 # gives time for the database to boot before the application
- SPRING_DATA_ELASTICSEARCH_CLUSTER_NODES=jhipstersampleapplication-elasticsearch:9300
ports:
- 8080:8080
jhipstersampleapplication-mysql:
extends:
file: mysql.yml
service: jhipstersampleapplication-mysql
jhipstersampleapplication-elasticsearch:
extends:
file: elasticsearch.yml
service: jhipstersampleapplication-elasticsearch