Appli Flutter se connecte bien à l'API.

This commit is contained in:
DahoudG
2025-09-12 03:15:21 +00:00
parent 8184bc77bb
commit 3df010add7
33 changed files with 3124 additions and 339 deletions

View File

@@ -0,0 +1,43 @@
version: '3.8'
services:
postgres-dev:
image: postgres:15-alpine
container_name: unionflow-postgres-dev
environment:
POSTGRES_DB: unionflow_dev
POSTGRES_USER: unionflow_dev
POSTGRES_PASSWORD: dev123
POSTGRES_INITDB_ARGS: "--encoding=UTF-8 --lc-collate=C --lc-ctype=C"
ports:
- "5432:5432"
volumes:
- postgres_dev_data:/var/lib/postgresql/data
- ./src/main/resources/db/init:/docker-entrypoint-initdb.d
networks:
- unionflow-dev
healthcheck:
test: ["CMD-SHELL", "pg_isready -U unionflow_dev -d unionflow_dev"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
adminer:
image: adminer:4.8.1
container_name: unionflow-adminer
ports:
- "8081:8080"
networks:
- unionflow-dev
depends_on:
- postgres-dev
restart: unless-stopped
volumes:
postgres_dev_data:
driver: local
networks:
unionflow-dev:
driver: bridge

View File

@@ -80,15 +80,18 @@ quarkus:
"%dev":
quarkus:
datasource:
username: unionflow_dev
password: dev123
db-kind: h2
username: sa
password: ""
jdbc:
url: jdbc:postgresql://localhost:5432/unionflow_dev
url: jdbc:h2:mem:unionflow_dev;DB_CLOSE_DELAY=-1;MODE=PostgreSQL
hibernate-orm:
database:
generation: drop-and-create
log:
sql: true
flyway:
migrate-at-start: false
log:
category:
"dev.lions.unionflow": DEBUG