From 7199f9ef3b440416e8fdaf671eb6e8146532b874 Mon Sep 17 00:00:00 2001 From: Marko Stojanovic Date: Thu, 22 Feb 2024 11:22:45 +0100 Subject: [PATCH] Fix typos --- SUMMARY.md | 2 +- doc/postgreConfiguration.md | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/SUMMARY.md b/SUMMARY.md index 24b62f4..f3661a2 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -44,7 +44,7 @@ * [License](doc/license.md) * [Advanced doc](doc/README.md) * [MYDATA\_USAGE\_CONTROL](doc/MYDATA\_USAGE\_CONTROL.md) - * [Postgre Configuration](doc/postgreConfiguration.md) + * [PostgreSQL Configuration](doc/postgreConfiguration.md) * [Test cases](doc/TEST\_API.md) * [REST API](doc/rest\_api/REST\_API.md) * [Testbed](doc/testbed/TESTBED.md) diff --git a/doc/postgreConfiguration.md b/doc/postgreConfiguration.md index edffaf9..430135a 100644 --- a/doc/postgreConfiguration.md +++ b/doc/postgreConfiguration.md @@ -1,6 +1,6 @@ -# Postgre configuration +# PostgreSQL configuration -Both ECC and UCApp uses in-memory database (H2) with persisting db on file system. This setup can be used for some small POC projects, to verify if integration is working and similar, but for real use case scenario, some more resilient database should be used, for example PostgreSQL (provided config) or some other database. +Both ECC and UCApp uses in-memory database (H2) with persisting db on file system. This setup can be used for some small POC projects, to verify if integration is working and similar, but for real use case scenario, some more resilient database should be used. Below you can find configuration for setting PostgreSQL. In order to switch to PostgreSQL database, following steps are needed: @@ -10,8 +10,8 @@ In order to switch to PostgreSQL database, following steps are needed: postgres_provider: image: postgres:16.2-alpine3.19 hostname: postgres_provider - ports: - - "5432:5432" + expose: + - "5432" networks: - provider env_file: @@ -23,8 +23,8 @@ In order to switch to PostgreSQL database, following steps are needed: postgres_consumer: image: postgres:16.2-alpine3.19 hostname: postgres_consumer - ports: - - "5433:5432" + expose: + - "5432" networks: - consumer env_file: