2026-03-31 16:03:40 -04:00
|
|
|
version: '3.8'
|
|
|
|
|
|
2026-03-31 15:29:48 -04:00
|
|
|
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
|
2026-03-31 16:03:40 -04:00
|
|
|
# Container-local mount points (not directly used — entrypoint.sh manages these)
|
2026-03-31 15:29:48 -04:00
|
|
|
- WATCH_FOLDER=/watch
|
|
|
|
|
- OUTPUT_FOLDER=/output
|
2026-03-31 16:03:40 -04:00
|
|
|
- AME_LOG_DIR=/ame-logs
|
|
|
|
|
- DATA_DIR=/data
|
2026-03-31 15:29:48 -04:00
|
|
|
# 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:
|
2026-03-31 16:03:40 -04:00
|
|
|
# Persistent data store (settings, job DB, sessions)
|
2026-03-31 15:29:48 -04:00
|
|
|
- app_data:/data
|
2026-03-31 16:03:40 -04:00
|
|
|
# Temporary upload storage
|
2026-03-31 15:29:48 -04:00
|
|
|
- upload_tmp:/tmp/uploads
|
2026-03-31 16:55:55 -04:00
|
|
|
# Mount SMB share subdirectories from host — pre-mount at host level with:
|
2026-03-31 16:12:59 -04:00
|
|
|
# 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
|
2026-03-31 16:55:55 -04:00
|
|
|
# Bind SMB subdirectories to container paths
|
|
|
|
|
- /mnt/smb-ame/Watch:/watch
|
|
|
|
|
- /mnt/smb-ame/Output:/output
|
|
|
|
|
- /mnt/smb-ame/Logs:/ame-logs
|
2026-03-31 19:58:25 -04:00
|
|
|
# High-res media folder for fallback lookup (mount on host first:
|
|
|
|
|
# sudo mount -t cifs //172.18.210.5/bmg_video/Media /mnt/hires-media -o username=smb,password=Production2020!,...)
|
|
|
|
|
- /mnt/hires-media:/hires-media:ro
|
2026-03-31 15:29:48 -04:00
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
app_data:
|
|
|
|
|
upload_tmp:
|