diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..9b9548b --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,52 @@ +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 + # Watch folder: mount AME's watch folder here + - WATCH_FOLDER=/watch + # Output folder: mount AME's output/render folder here + - OUTPUT_FOLDER=/output + # Polling interval for folder monitoring (ms) + - POLL_INTERVAL_MS=5000 + # Job timeout before marking as stuck (ms) — default 1 hour + - JOB_TIMEOUT_MS=3600000 + # AME log directory (mount the folder containing AMEEncodingLog.txt) + - AME_LOG_DIR=/ame-logs + # 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: + - app_data:/data + - upload_tmp:/tmp/uploads + # Mount your AME watch folder and output folder: + # Windows example: + # - C:\Users\Editor\AME\Watch:/watch + # - C:\Users\Editor\AME\Output:/output + # macOS example: + # - /Users/editor/AME/Watch:/watch + # - /Users/editor/AME/Output:/output + - watch_folder:/watch + - output_folder:/output + # AME log directory — mount the folder containing AMEEncodingLog.txt + # macOS example (update and ): + # - /Users//Documents/Adobe/Adobe Media Encoder/:/ame-logs:ro + # Windows example: + # - C:\Users\\Documents\Adobe\Adobe Media Encoder\:/ame-logs:ro + - ame_logs:/ame-logs + +volumes: + app_data: + upload_tmp: + watch_folder: + output_folder: + ame_logs: