Add local-first SPA architecture and containerized production deploy.
Move data access to use-cases and IndexedDB repositories with optional remote fallback, changelog/sync ports, and encrypted local backup. Add production Docker Compose (nginx frontend + optional backend) and Apache host proxy configuration for deployment. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -76,6 +76,18 @@ social-graph/
|
||||
└── docker-compose.yml
|
||||
```
|
||||
|
||||
## Production (Docker + прокси на хосте)
|
||||
|
||||
См. [deploy/README.md](deploy/README.md).
|
||||
|
||||
Кратко:
|
||||
|
||||
```bash
|
||||
cp deploy/.env.prod.example deploy/.env.prod
|
||||
docker compose -f docker-compose.prod.yml --env-file deploy/.env.prod up -d frontend
|
||||
# прокси на хосте → http://127.0.0.1:8080 (см. deploy/apache/social-graph.conf)
|
||||
```
|
||||
|
||||
## Запуск без Docker
|
||||
|
||||
**Backend:**
|
||||
|
||||
Reference in New Issue
Block a user