refactor: update environment configuration and documentation

- Modified `.env.example` to reflect new API URL structure and added CDN configuration for external storage.
- Updated `.gitignore` to include deployment secrets and certificate files, ensuring sensitive information is not committed.
- Revised `BACKEND_INTEGRATION.md` to clarify authentication methods, replacing Cognito references with Nostr NIP-98.
- Deleted outdated documentation files (`CONTENT-INTEGRATION-COMPLETE.md`, `CURSOR-MCP-SETUP.md`, `FINAL-STATUS.md`, `FIXES-APPLIED.md`, `INDEEHHUB-INTEGRATION.md`, `PROJECT-COMPLETE.md`, `PROJECT-SUMMARY.md`) to streamline project documentation.

These changes enhance the clarity of the environment setup and improve the overall documentation structure for better developer onboarding.
This commit is contained in:
Dorian
2026-02-17 05:12:59 +00:00
parent a88022f81d
commit 8d56fe392d
29 changed files with 782 additions and 1713 deletions

View File

@@ -1,32 +1,27 @@
# IndeedHub - Portainer Deployment Guide
# IndeeHub Deployment
## Quick Deploy with Portainer Stacks
## Full Stack (Recommended)
### Method 1: Using Portainer Stacks (Recommended)
The app requires the full stack: frontend (nginx), backend API, PostgreSQL, Redis, MinIO, FFmpeg worker, Nostr relay.
1. **Log into Portainer**
2. **Navigate to Stacks**
3. **Click "Add Stack"**
4. **Choose "Git Repository"** or **"Upload"** the `docker-compose.yml`
5. **Configure:**
- Name: `indeedhub-prototype`
- Repository URL: (your git repo)
- Compose path: `docker-compose.yml`
6. **Deploy**
### Method 2: Using Docker Compose Directly
### Docker Compose
```bash
# Build and run
docker-compose up -d --build
# Copy environment template and fill in secrets
cp .env.portainer.example .env.portainer
# Edit .env.portainer with your values
# View logs
docker-compose logs -f
# Stop
docker-compose down
# Deploy
docker compose up -d --build
```
### Portainer
1. Create a new Stack
2. Load variables from `.env.portainer` (use `.env.portainer.example` as template)
3. Use `docker-compose.yml` from the repo
4. Deploy
## Access
- **Application URL**: `http://your-server:7777`