-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yml
61 lines (61 loc) · 2.1 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
51
52
53
54
55
56
57
58
59
60
61
# This configuration is intended for development purpose, it's **your** responsibility to harden it for production
version: '3.3'
services:
calvary-gateway-api:
image: ghacupha/calvary-erp-api:0.0.1-SNAPSHOT
volumes:
- ./logs/:/logs/
- ./reports-directory/:/reports-directory/
- ./generated-reports/:/generated-reports/
- ./business-documents/:/business-documents/
environment:
- _JAVA_OPTIONS=-Xmx512m -Xms256m
- MAVEN_OPTS=-Dspring.profiles.active
- SPRING_PROFILES_ACTIVE=prod,api-docs
- MANAGEMENT_PROMETHEUS_METRICS_EXPORT_ENABLED=true
- SPRING_CLOUD_CONSUL_HOST=consul
- SPRING_CLOUD_CONSUL_PORT=8500
- SPRING_R2DBC_URL=${LOCAL_R2DBC_URL}/calvaryErpApi
- SPRING_LIQUIBASE_URL=${LOCAL_PG_SERVER}/calvaryErpApi
- SPRING_ELASTICSEARCH_URIS=http://10.60.27.22:9301
- SPRING_ELASTICSEARCH_REST_URIS=http://10.60.27.22:9301
- SPRING_DATA_JEST_URI_PROD_CALVARY=http://10.60.27.22:9301
- SPRING_DATA_JEST_URI_DEV_CALVARY=http://10.60.27.22:9301
- SPRING_CLOUD_STREAM_KAFKA_BINDER_BROKERS=http://10.60.27.22:9092
- PG_DATABASE_PROD_PASSWORD=${PG_DATABASE_PROD_PASSWORD}
- PG_DATABASE_PROD_USER=${PG_DATABASE_PROD_USER}
- PG_DATABASE_DEV_PASSWORD=${PG_DATABASE_DEV_PASSWORD}
- PG_DATABASE_DEV_USER=${PG_DATABASE_DEV_USER}
- SANDBOX_INSTANCE_URLS=http://localhost:8388,http://10.60.27.22:8388,http://localhost:8385
ports:
- 8385:8385
healthcheck:
test:
- CMD
- curl
- -f
- http://localhost:8385/management/health
interval: 5s
timeout: 5s
retries: 40
# depends_on:
# postgresql:
# condition: service_healthy
# elasticsearch:
# condition: service_healthy
# postgresql:
# extends:
# file: ./postgresql.yml
# service: postgresql
# elasticsearch:
# extends:
# file: ./elasticsearch.yml
# service: elasticsearch
# consul:
# extends:
# file: ./consul.yml
# service: consul
# consul-config-loader:
# extends:
# file: ./consul.yml
# service: consul-config-loader