don't need the db if you rip out the waitlist

This commit is contained in:
Kesku 2025-06-23 12:35:14 +01:00
parent 723bc584da
commit a382bef850
2 changed files with 1 additions and 61 deletions

View File

@ -47,19 +47,6 @@ OpenCut is designed as a **privacy-first, offline-capable** video editor:
- **Optional database** - only needed for the waitlist feature on the website
- **No servers required** - the editor works completely offline
### Optional Features (Web only)
The waitlist signup is the only feature that uses a server. Set these environment variables if you want it:
```bash
# Optional: For waitlist functionality
DATABASE_URL="postgresql://..."
UPSTASH_REDIS_REST_URL="..."
UPSTASH_REDIS_REST_TOKEN="..."
```
**The video editor works perfectly without any of these!**
## Production Build
### Desktop App
@ -68,7 +55,7 @@ cd apps/desktop
npm run build
```
Creates installers for macOS, Windows, and Linux.
Creates installers for MacOS and Windows.
### Web App
```bash

View File

@ -1,47 +0,0 @@
services:
db:
image: postgres:17
restart: unless-stopped
environment:
POSTGRES_USER: opencut
POSTGRES_PASSWORD: opencutthegoat
POSTGRES_DB: opencut
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
healthcheck:
test: ["CMD", "pg_isready -U opencut"]
interval: 30s
timeout: 10s
retries: 5
start_period: 10s
redis:
image: redis
ports:
- "6379:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 30s
timeout: 10s
retries: 5
start_period: 10s
serverless-redis-http:
image: hiett/serverless-redis-http:latest
ports:
- "8079:80"
environment:
SRH_MODE: env
SRH_TOKEN: example_token
SRH_CONNECTION_STRING: "redis://redis:6379"
healthcheck:
test: ["CMD-SHELL", "wget --spider -q http://127.0.0.1:80 || exit 1"]
interval: 30s
timeout: 10s
retries: 5
start_period: 10s
volumes:
postgres_data: