From f11364b73e96903f85d2704ff93a7613920ca7b8 Mon Sep 17 00:00:00 2001 From: Nils-Johan Gynther Date: Wed, 22 Apr 2026 10:34:06 +0200 Subject: [PATCH] fix: remove unused image handling in Caddyfile and ensure recipe images are served correctly --- compose.flutter.yml | 2 ++ flutter/Caddyfile | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/compose.flutter.yml b/compose.flutter.yml index 00ccb192..eae2db8b 100644 --- a/compose.flutter.yml +++ b/compose.flutter.yml @@ -12,6 +12,8 @@ services: PORT: "5000" ports: - "5000:5000" + volumes: + - recipe_images:/usr/share/caddy/images depends_on: recipe-api: condition: service_healthy diff --git a/flutter/Caddyfile b/flutter/Caddyfile index 7657372a..03a88ca3 100644 --- a/flutter/Caddyfile +++ b/flutter/Caddyfile @@ -1,11 +1,6 @@ :{$PORT:5000} { root * /usr/share/caddy - # Recipe images are stored in a shared volume and served by the Next service. - handle /images/* { - reverse_proxy recipe-frontend:3000 - } - # Proxy API calls to backend service on the internal Docker network. handle /api/* { reverse_proxy recipe-api:8080