-
Notifications
You must be signed in to change notification settings - Fork 264
/
app.yml
19 lines (19 loc) · 841 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:
greatbigexampleapplication-app:
image: greatbigexampleapplication
environment:
- SPRING_PROFILES_ACTIVE=prod,swagger
- SPRING_DATASOURCE_URL=jdbc:postgresql://greatbigexampleapplication-postgresql:5432/GreatBigExampleApplication
- JHIPSTER_SLEEP=10 # gives time for the database to boot before the application
- SPRING_DATA_ELASTICSEARCH_CLUSTER_NODES=greatbigexampleapplication-elasticsearch:9300
ports:
- 8090:8090
greatbigexampleapplication-postgresql:
extends:
file: postgresql.yml
service: greatbigexampleapplication-postgresql
greatbigexampleapplication-elasticsearch:
extends:
file: elasticsearch.yml
service: greatbigexampleapplication-elasticsearch