Set up postgres

This commit is contained in:
2024-11-16 11:37:49 +01:00
parent 5963c7285b
commit 34d1b40138
6 changed files with 124 additions and 1 deletions

View File

@@ -18,6 +18,10 @@ spring:
config:
activate:
on-profile: development
r2dbc:
url: r2dbc:postgresql://localhost:5432/device_registry
username: services
password: password
---
##########################
@@ -27,6 +31,10 @@ spring:
config:
activate:
on-profile: docker
r2dbc:
url: r2dbc:postgresql://PostgreSQL:5432/device_registry
username: services
password: password
---
##############################