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>
This commit is contained in:
parent
6711abb339
commit
4f54305abf
1 changed files with 5 additions and 3 deletions
|
|
@ -31,11 +31,13 @@ services:
|
||||||
- app_data:/data
|
- app_data:/data
|
||||||
# Temporary upload storage
|
# Temporary upload storage
|
||||||
- upload_tmp:/tmp/uploads
|
- upload_tmp:/tmp/uploads
|
||||||
# Mount SMB share from host — pre-mount at host level with:
|
# Mount SMB share subdirectories from host — pre-mount at host level with:
|
||||||
# sudo mount -t cifs //172.18.210.5/ame /mnt/smb-ame \
|
# 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
|
# -o username=smb,password=Production2020!,uid=1000,gid=1000,file_mode=0755,dir_mode=0755,vers=3.0
|
||||||
# The container will create watch/output/logs subdirectories if they don't exist
|
# Bind SMB subdirectories to container paths
|
||||||
- /mnt/smb-ame:/smb-share
|
- /mnt/smb-ame/Watch:/watch
|
||||||
|
- /mnt/smb-ame/Output:/output
|
||||||
|
- /mnt/smb-ame/Logs:/ame-logs
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
app_data:
|
app_data:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue