Files
nobswebdev 4a534a8007 Add production deployment guide and restrict CORS to development.
Document clearnet, TLS, and Tor setup; enable Nest CORS only in development and skip CORS_ORIGINS validation in production.
2026-10-28 22:07:32 +01:00

23 lines
646 B
Markdown

# Private Image
Self-hosted, privacy-focused image hosting. Images are metadata-stripped and encrypted in the browser before upload. Supports **zero-knowledge** viewer links and **hotlink** mode for embeds.
For production deployment, see the [deployment guide](deploy/DEPLOYMENT_GUIDE.md).
## Development
### Start dev environment
```bash
cp .env.example .env.dev
docker compose --env-file .env.dev -f docker-compose.dev.yml build --no-cache
docker compose --env-file .env.dev -f docker-compose.dev.yml up --force-recreate
```
### Install npm packages for code editor visibility
```bash
cd backend && npm i && cd ../frontend && npm i
```