generated from aura-ascend/template-service
project setup
- update README.md
- setup tls
- update gradle.properties with docker tls ports
- update application.yml
- disable tls in develop
- set docker values
- add default tls values
- add keystore.p12
- setup postgres
- update application.yml with defualt values
- add 000-initizalise.sql
- add postgres dependencies and config
- add docker compose development
- add actuator.http
- add http environment
- update name and readme for service
This commit is contained in:
@@ -24,6 +24,13 @@ management:
|
||||
exposure:
|
||||
include: "health,info"
|
||||
|
||||
server:
|
||||
port: 8443
|
||||
ssl:
|
||||
enabled: true
|
||||
key-store: classpath:cert/keystore.p12
|
||||
key-store-type: PKCS12
|
||||
|
||||
---
|
||||
###########################
|
||||
### Develop environment ###
|
||||
@@ -32,6 +39,16 @@ spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: develop
|
||||
r2dbc:
|
||||
url: r2dbc:postgresql://localhost:5432/basic_banking
|
||||
username: service
|
||||
password: password
|
||||
|
||||
server:
|
||||
port: 8080
|
||||
ssl:
|
||||
enabled: false
|
||||
# key-store-password: password
|
||||
|
||||
---
|
||||
##########################
|
||||
@@ -41,6 +58,14 @@ spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: docker
|
||||
r2dbc:
|
||||
url: r2dbc:postgresql://postgres:5432/basic_banking
|
||||
username: service
|
||||
password: password
|
||||
|
||||
server:
|
||||
ssl:
|
||||
key-store-password: password
|
||||
|
||||
---
|
||||
##############################
|
||||
@@ -50,3 +75,5 @@ spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: kubernetes
|
||||
r2dbc:
|
||||
url: r2dbc:postgresql://postgres:5432/basic_banking
|
||||
|
||||
BIN
src/main/resources/cert/keystore.p12
Normal file
BIN
src/main/resources/cert/keystore.p12
Normal file
Binary file not shown.
Reference in New Issue
Block a user