Generate JHipster 9.3.0 baseline application
This commit is contained in:
1 parent
0a9b7b923f
commit
1d97cc4e31
345 files changed
+25563
No files matched your search
@@ -0,0 +1,31 @@
|
||||
# This configuration is intended for development purpose, it's **your** responsibility to harden it for production
|
||||
name: questionbank
|
||||
services:
|
||||
app:
|
||||
image: questionbank
|
||||
environment:
|
||||
- _JAVA_OPTIONS=-Xmx512m -Xms256m
|
||||
- SPRING_PROFILES_ACTIVE=prod,api-docs,secret-samples
|
||||
- MANAGEMENT_PROMETHEUS_METRICS_EXPORT_ENABLED=true
|
||||
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgresql:5432/questionBank
|
||||
- SPRING_DATASOURCE_USERNAME=questionBank
|
||||
- SPRING_DATASOURCE_PASSWORD=
|
||||
- SPRING_LIQUIBASE_URL=jdbc:postgresql://postgresql:5432/questionBank
|
||||
ports:
|
||||
- 127.0.0.1:8080:8080
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- "bash -c 'exec 3<>/dev/tcp/127.0.0.1/8080; printf \"GET
|
||||
/management/health HTTP/1.0\\r\\nHost: localhost\\r\\n\\r\\n\" >&3;
|
||||
grep -q \"\\\"status\\\":\\\"UP\\\"\" <&3'"
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 40
|
||||
depends_on:
|
||||
postgresql:
|
||||
condition: service_healthy
|
||||
postgresql:
|
||||
extends:
|
||||
file: ./postgresql.yml
|
||||
service: postgresql
|
||||
Reference in new issue
Block a user