Add postgress docker compose examples + Flyway Modularity Support (#2089)

* added postgress docker compose examples
* move mysql flyway into server (remove from hawkbit-repository-jpa-flyway)
* in starters is added posgress and sqlserver flyway support - see [Flyway Modularity](https://github.com/flyway/flyway/issues/3780)

_release_notes_

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2024-11-20 18:08:11 +02:00
committed by GitHub
parent f91fff4934
commit e41c0efd3d
12 changed files with 280 additions and 50 deletions

View File

@@ -14,7 +14,7 @@ services:
# Postgres service
# ---------------------
postgres:
image: "postgres:16.1"
image: "postgres:16.5"
ports:
- "5432:5432"
deploy:
@@ -24,6 +24,10 @@ services:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "admin"
POSTGRES_DB: "hawkbit"
healthcheck:
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
interval: 20s
retries: 10
# ---------------------
# RabbitMQ service