use PostgreSQL for kontor-spring and kontor-api

This commit is contained in:
Thomas Peetz
2025-04-30 22:10:05 +02:00
parent 2efacf6d67
commit 72c1a7d265
36 changed files with 184 additions and 977 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ services:
#- POSTGRES_PASSWORD_FILE=/run/secrets/db-password
- POSTGRES_PASSWORD=kontor
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-U", "kontor"]
test: ["CMD-SHELL", "pg_isready -U kontor"]
interval: 1s
timeout: 5s
retries: 10
@@ -43,7 +43,7 @@ services:
volumes:
- mariadb-storage:/var/lib/mysql:rw
kontor:
image: kontor:0.2.0-SNAPSHOT
image: kontor:0.1.0
restart: unless-stopped
networks:
- database
@@ -54,7 +54,7 @@ services:
postgres:
condition: service_healthy
kontor-api:
image: kontor-api:0.2.0-SNAPSHOT
image: kontor-api:0.1.0
restart: unless-stopped
networks:
- database