Skip to content

Make ffmpeg-static optional and add fly.toml for deployment - #118

Open
Levonalp wants to merge 5 commits into
technomancer702:mainfrom
Levonalp:claude/setup-deployment-qV8kE
Open

Levonalp wants to merge 5 commits into
technomancer702:mainfrom
Levonalp:claude/setup-deployment-qV8kE

Conversation

@Levonalp

@Levonalp Levonalp commented Apr 7, 2026

Copy link
Copy Markdown
  • ffmpeg-static is declared in optionalDependencies but proxy.js was requiring it unconditionally, which broke startup when the binary failed to install. Wrap the require in try/catch.
  • Add fly.toml so the app can be deployed to Fly.io with 'fly launch' / 'fly deploy' using the existing Dockerfile.

claude and others added 5 commits April 7, 2026 16:40
- ffmpeg-static is declared in optionalDependencies but proxy.js was
  requiring it unconditionally, which broke startup when the binary
  failed to install. Wrap the require in try/catch.
- Add fly.toml so the app can be deployed to Fly.io with 'fly launch'
  / 'fly deploy' using the existing Dockerfile.
app.listen(PORT) defaults to localhost on some Node versions, so the
Fly proxy couldn't reach the app. Bind explicitly to 0.0.0.0.
Bypass authentication entirely so the app is usable without an account:
- requireAuth/requireAdmin middlewares now inject a default admin user
- Frontend skips the login redirect and the 401 redirect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants