added integration tests and added message with attachments

This commit is contained in:
2026-06-28 17:31:58 +02:00
parent e2f1e4a952
commit b45f5ff35f
14 changed files with 1913 additions and 513 deletions
+38
View File
@@ -0,0 +1,38 @@
services:
db:
build:
context: ./db
dockerfile: Dockerfile
ports:
- "5432:5432"
environment:
- POSTGRES_USER=frangipane
- POSTGRES_PASSWORD=secret
- POSTGRES_DB=frangipane
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U frangipane -d frangipane"]
interval: 5s
timeout: 5s
retries: 5
app:
build:
context: .
dockerfile: Dockerfile
depends_on:
db:
condition: service_healthy
ports:
- "8080:8080"
environment:
- FRANGIPANE_JWT_SECRET=43aaf85b92f1ae6fbcef7732c50a0904
- RUST_LOG=frangipane=debug,tower_http=debug
volumes:
- app_data:/var/lib/frangipane
restart: unless-stopped
volumes:
postgres_data:
app_data: