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:03:40 -04:00
|
|
|
# Local volumes as fallback (used if SMB mount fails)
|
2026-03-31 15:29:48 -04:00
|
|
|
- watch_folder:/watch
|
|
|
|
|
- output_folder:/output
|
|
|
|
|
- ame_logs:/ame-logs
|
2026-03-31 16:03:40 -04:00
|
|
|
# Required capabilities for SMB mounting
|
|
|
|
|
cap_add:
|
|
|
|
|
- SYS_ADMIN
|
|
|
|
|
security_opt:
|
|
|
|
|
- apparmor=unconfined
|
2026-03-31 15:29:48 -04:00
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
app_data:
|
|
|
|
|
upload_tmp:
|
|
|
|
|
watch_folder:
|
|
|
|
|
output_folder:
|
|
|
|
|
ame_logs:
|