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>
44 lines
1.5 KiB
YAML
44 lines
1.5 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
ame-job-manager:
|
|
build: .
|
|
container_name: ame-job-manager
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3100:3100"
|
|
environment:
|
|
- PORT=3100
|
|
- AUTH_USER=Admin
|
|
- AUTH_PASS=BertAndErnieVPM2026
|
|
# Container-local mount points (not directly used — entrypoint.sh manages these)
|
|
- WATCH_FOLDER=/watch
|
|
- OUTPUT_FOLDER=/output
|
|
- AME_LOG_DIR=/ame-logs
|
|
- DATA_DIR=/data
|
|
# Polling interval for folder monitoring (ms)
|
|
- POLL_INTERVAL_MS=5000
|
|
# Job timeout before marking as stuck (ms) — default 1 hour
|
|
- JOB_TIMEOUT_MS=3600000
|
|
# S3 config (same creds as framelightx-uploader, encoder bucket)
|
|
- S3_ENDPOINT=https://broadcastmgmt.cloud
|
|
- S3_ACCESS_KEY=c9L2fu581a3gnH7rSdBJ
|
|
- S3_SECRET_KEY=QaJmlogyPCvtO7iSVGw9NAzB8H6FknLqXpYrWRdx
|
|
- S3_BUCKET=encoder
|
|
- S3_REGION=us-east-1
|
|
volumes:
|
|
# Persistent data store (settings, job DB, sessions)
|
|
- app_data:/data
|
|
# Temporary upload storage
|
|
- upload_tmp:/tmp/uploads
|
|
# Mount SMB share subdirectories from host — pre-mount at host level with:
|
|
# 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
|
|
# Bind SMB subdirectories to container paths
|
|
- /mnt/smb-ame/Watch:/watch
|
|
- /mnt/smb-ame/Output:/output
|
|
- /mnt/smb-ame/Logs:/ame-logs
|
|
|
|
volumes:
|
|
app_data:
|
|
upload_tmp:
|