A dockerized Remotion template for creating animated videos. Generates a 15-second "Hello World" animation with atomic design components.
📖 Read the complete developer guide - Learn about building scalable video generation pipelines with Remotion, Docker, and GitHub Actions.
- Docker & Docker Compose
git clone https://github.com/scotthavird/remotion-docker-template
cd remotion-docker-template# Start Remotion Studio with hot reload
docker-compose up remotion-dev
# Open http://localhost:3000# Generate video
docker-compose up remotion-render
# Output: ./out/HelloWorld.mp4pnpm install
pnpm dev # Start studio
pnpm render # Render video- Enable Container Registry: Settings → Packages → "Inherit access from source repository"
- Push to main:
git push origin main(triggers first build) - Use Actions: Go to Actions tab → "Render Video" → "Run workflow"
- Build & Publish: Pushes Docker image to
ghcr.io/{username}/{repository}on main branch - Render Video: Manual video generation with customizable parameters
- Go to Actions tab → "Render Video"
- Click "Run workflow"
- Customize parameters (title, subtitle, etc.)
- Download from artifacts or releases
- Enable in Settings → Packages
- Create PAT with
write:packagespermission for local pushing
- Components: Atomic design (atoms → molecules → organisms)
- Docker: Development and render containers
- GitHub Actions: Automated building and rendering
- Visual Editing: Real-time prop editing in Remotion Studio
- TypeScript: Full type safety
./scripts/build-and-push.sh- Build/push Docker image./scripts/test-local.sh- Test container locally
This project includes Cursor rules to enhance AI-assisted development:
- Project Structure (
.cursor/rules/project-structure.mdc) - Overview of the codebase architecture - Remotion Components (
.cursor/rules/remotion-components.mdc) - Component development patterns and atomic design - GitHub Actions (
.cursor/rules/github-actions.mdc) - Workflow development and automation patterns - Docker Development (
.cursor/rules/docker-development.mdc) - Container development and deployment patterns
These rules help Cursor understand the project structure, coding patterns, and development workflows for better AI assistance.
Note that for some entities a company license is needed. Read the terms here.
Built with Remotion 🎬