Files
recipe-app/compose.flutter.yml
T
Nils-Johan Gynther 69bcc3e342
Test Suite / backend-pr-quick (push) Has been skipped
Test Suite / quick-import-pr-quick (push) Has been skipped
Test Suite / backend-full (push) Successful in 14m6s
Test Suite / flutter-quality (push) Failing after 4m44s
feat(web): improve web build configuration and accessibility
- Add source maps and web renderer build arguments with defaults
- Configure Caddy with CSP headers, cache policies, and service worker handling
- Defer loading of import screen for performance optimization
- Add semantic labels to icons for accessibility
- Update web index.html with Swedish language, meta tags, and description
- Add robots.txt and lighthouse configuration
- Add new planning documents and archive entries
2026-05-23 18:04:27 +02:00

31 lines
744 B
YAML

services:
recipe-flutter:
build:
context: ./flutter
dockerfile: Dockerfile
args:
API_BASE_URL: "/api"
SOURCE_MAPS: "false"
WEB_RENDERER: "auto"
image: recipe-flutter:local
container_name: recipe-flutter
restart: unless-stopped
environment:
PORT: "5000"
ports:
- "5000:5000"
volumes:
- recipe_images:/usr/share/caddy/images
depends_on:
recipe-api:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:5000 >/dev/null 2>&1 || exit 1"]
interval: 20s
timeout: 10s
retries: 5
start_period: 60s
networks:
- proxy
- recipe-internal