From 5b06af283fdddac8caa23a6c66ac45fd13e692b5 Mon Sep 17 00:00:00 2001 From: SamoilenkoVadym Date: Mon, 9 Feb 2026 13:34:03 +0000 Subject: [PATCH] fix(docker): make Excel lookup file optional in docker-compose - Comment out Excel file volume mount by default - Excel lookup will be disabled if file not present - Prevents deployment error when file doesn't exist - Users can uncomment the line if they have the Excel file Co-Authored-By: Claude Sonnet 4.5 (1M context) --- docker-compose.fastapi.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/docker-compose.fastapi.yml b/docker-compose.fastapi.yml index 3955a78..22e5985 100644 --- a/docker-compose.fastapi.yml +++ b/docker-compose.fastapi.yml @@ -84,14 +84,8 @@ services: - ./backend/data:/app/data # Persistent templates - ./backend/output:/app/output - # Copy existing Excel lookup file (if exists) - - type: bind - source: ./Celum ID to Adobe Asset Path Mapping Spreadsheet (1).xlsx - target: /app/Celum ID to Adobe Asset Path Mapping Spreadsheet (1).xlsx - read_only: true - # Optional - won't fail if file doesn't exist - bind: - create_host_path: false + # Excel lookup file (optional - comment out if file doesn't exist) + # - ./Celum ID to Adobe Asset Path Mapping Spreadsheet (1).xlsx:/app/Celum ID to Adobe Asset Path Mapping Spreadsheet (1).xlsx:ro ports: - "${BACKEND_PORT:-5001}:8000"