Commit graph

16 commits

Author SHA1 Message Date
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
c40a2ddb89 fix: Use embedded SMB credentials (smb/Production2020!) as fallback
- credentials read from settings first
- env vars override settings
- embedded defaults (smb/Production2020!) used if nothing configured
- allows immediate SMB mount on container startup without config

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-31 16:09:48 -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
b1abafd1de Update README.md with documentation 2026-03-31 15:35:26 -04:00
837df373ce Add public/index.html 2026-03-31 15:29:50 -04:00
86086cfc93 Add test-remap.js 2026-03-31 15:29:50 -04:00
8caaeaf13c Add server.js 2026-03-31 15:29:49 -04:00
47ad07366d Add prproj-remapper.js 2026-03-31 15:29:49 -04:00
e90ef6951f Add package.json 2026-03-31 15:29:49 -04:00
a1f839438e Add package-lock.json 2026-03-31 15:29:49 -04:00
9f961ba286 Add Dockerfile 2026-03-31 15:29:48 -04:00
79e2b959e2 Add docker-compose.yml 2026-03-31 15:29:48 -04:00
44c82fdffa Add ame-log-parser.js 2026-03-31 15:29:48 -04:00
e3efa14cd7 Add .env.example 2026-03-31 15:29:48 -04:00
27506fc6ff Add .dockerignore 2026-03-31 15:29:48 -04:00
1bf1ed093c Initial commit 2026-03-31 15:26:09 -04:00