Commit graph

7 commits

Author SHA1 Message Date
Claude
2afbdee687 Fix: update hires-media mount path to /mnt/hires-media on host 2026-03-31 19:58:25 -04:00
Claude
36e104ebdd Fix: direct .gves→hires lookup, add /hires-media mount, debug logging
- Added /mnt/Hitchcock/bmg_video/Media as read-only bind mount at /hires-media in container
- Added direct .gves→hires fallback that works even when proxyLinks is empty
- For each .gves block, searches unlinked high-res proxy block titles against media folder
- Added console logging to trace the lookup process for debugging
- This handles the case where FramelightX creates no explicit linkages at all
2026-03-31 19:55:29 -04:00
Claude
4f54305abf Fix: Bind SMB subdirectories correctly in docker-compose.yml
Previously, /mnt/smb-ame was mounted as /smb-share in the container, but
/watch, /output, and /ame-logs were separate Docker volumes, causing
uploaded files to be stored in ephemeral volumes instead of the SMB share.

Now bind each SMB subdirectory directly to its corresponding container path:
- /mnt/smb-ame/Watch → /watch
- /mnt/smb-ame/Output → /output
- /mnt/smb-ame/Logs → /ame-logs

This ensures uploaded .prproj files appear on the SMB share where AME can
access them from the watch folder.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-31 16:55:55 -04:00
Claude
ba39da5098 fix: Mount SMB root and create subdirectories automatically
- Mount /mnt/smb-ame as /smb-share in container
- Entrypoint creates watch/output/logs subdirectories if missing
- Creates bind-mounts from /smb-share/watch to /watch, etc.
- Graceful fallback if SMB share not mounted on host
- Works without pre-existing subdirectories on SMB server

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-31 16:18:49 -04:00
Claude
1c61d953fd refactor: Switch to host-level SMB mounting (bind-mount approach)
- Remove container-level CIFS mounting (requires SYS_ADMIN capability)
- Use docker-compose.yml bind-mounts from host (/mnt/smb-ame/*)
- Simplify entrypoint.sh to just verify mount points exist
- Include mount command in comments for host setup
- More reliable and doesn't require Docker capability grants

To use:
1. Mount SMB on host: sudo mount -t cifs //172.18.210.5/ame /mnt/smb-ame \
   -o username=smb,password=Production2020!,uid=1000,gid=1000,file_mode=0755,dir_mode=0755,vers=3.0
2. Update /etc/fstab to persist mount across reboots
3. Start container: docker compose up -d

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-31 16:12:59 -04:00
Claude
aef2b64d4e feat: Add SMB network share auto-mounting support
- Create entrypoint.sh to handle SMB mount on container startup
- Read credentials from settings.json and mount //172.18.210.5/ame
- Bind-mount subdirectories (watch, output, logs) to container paths
- Update Dockerfile with cifs-utils and entrypoint script
- Update docker-compose.yml with SYS_ADMIN capability for mounting
- Add comprehensive SMB configuration section to README
- Include troubleshooting guide and alternative approaches
- Maintain backward compatibility with local volumes
- Never expose passwords to browser (server-side storage only)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-31 16:03:40 -04:00
79e2b959e2 Add docker-compose.yml 2026-03-31 15:29:48 -04:00