Document clearnet, TLS, and Tor setup; enable Nest CORS only in development and skip CORS_ORIGINS validation in production.
23 lines
646 B
Markdown
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
|
|
```
|