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:
2025-09-10 09:49:42 +02:00
parent 772e693d48
commit 61519fc586
11 changed files with 177 additions and 8 deletions

View File

@@ -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

Binary file not shown.