From c986a73ef44df90c2e47f3a2dc60900b2271d230 Mon Sep 17 00:00:00 2001 From: whoswhip Date: Sat, 7 Mar 2026 11:30:51 -0500 Subject: [PATCH] fix(docker-compose): add env_file entries for backend and frontend services --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index c0e5fb4..df34005 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,8 @@ services: dockerfile: SharpbinV3.Server/Dockerfile image: sharpbin-backend container_name: sharpbin-backend + env_file: + - "backend.env" environment: ASPNETCORE_ENVIRONMENT: ${ASPNETCORE_ENVIRONMENT:-Production} ConnectionStrings__DefaultConnection: ${ConnectionStrings__DefaultConnection:-Data Source=/app/data/sharpbin.db} @@ -37,6 +39,8 @@ services: GIT_COMMIT_HASH: ${GIT_COMMIT_HASH} image: sharpbin-frontend container_name: sharpbin-frontend + env_file: + - "frontend.env" environment: VITE_API_URL: http://backend:8080 VITE_ALLOWED_HOSTS: ${VITE_ALLOWED_HOSTS:-"localhost"}