docker compose), plus sufficient disk space for source footage, local models, caches, and rendered exports.
Quick Start with Docker Compose
1
Clone the Repository & Create .env
.env to configure your default AI provider (or leave it for the Web Settings UI after startup):2
Prepare Bind-Mounted Directories
Create the host directories and assign ownership to the container’s
autoclip user so SQLite writes and media uploads succeed cleanly on Linux:3
Start the Stack
Default Service Endpoints
Persistent Volumes & Backups
The defaultdocker-compose.yml persists all state using bind mounts:
To back up your instance safely, wait for active jobs to finish, stop the stack, and archive the bind mounts along with
.env:
Environment Variables & Host Ollama
Key environment variables supported in.env (see env.example for the full list):
LLM_PROVIDER: Active provider key (openai,gemini,deepseek,minimax,dashscope,ollama, etc.)API_MODEL_NAME: Default model name for highlight analysisOPENAI_BASE_URL: Custom base URL for OpenAI-compatible gateways or host Ollama
extra_hosts under both autoclip and celery-worker in docker-compose.yml so host.docker.internal resolves to the host gateway:
Reverse Proxy & Security Tips
The default stack is designed for local or trusted-LAN use. If you expose AutoClip behind Nginx, Caddy, or Traefik:- Never expose Redis (
6379) or Flower (5555) to the public internet. Bind them to127.0.0.1or place them behind VPN/Zero-Trust authentication. - Increase upload body limits & timeouts: Video uploads and long FFmpeg exports require generous proxy limits (for example
client_max_body_size 4G;and extendedproxy_read_timeoutin Nginx). - Enable WebSocket pass-through: Forward
UpgradeandConnectionheaders so real-time progress updates stream smoothly to the browser. - Require authentication: Place AutoClip behind Basic Auth, Authelia, Authentik, or Cloudflare Access when hosting on a public domain.
Updating & Maintenance
docker compose logs --tail=100 autoclip celery-worker to inspect runtime logs at any time.