✈ Added plane, removed npm
This commit is contained in:
90
README.md
90
README.md
@@ -7,12 +7,22 @@ Docker Compose stacks for Flook (192.168.1.75) managed via Portainer.
|
||||
| Stack | Services | Port(s) | Description |
|
||||
|-------|----------|---------|-------------|
|
||||
| portainer | portainer | 9000 | Stack management |
|
||||
| proxy | npm | 1880, 18443, 81 | Nginx Proxy Manager (CRITICAL) |
|
||||
| documents | paperless, paperless-db, paperless-redis, paperless-tika, paperless-gotenberg, onlyoffice | 8777, 8089, 4430 | Document management |
|
||||
| productivity | gitlab, vaultwarden, memos, mortis, freshrss | 8929, 4743, 5230, 5231, 8054 | Personal tools |
|
||||
| backup | borgmatic | - | Borg backup to chook |
|
||||
| seafile | seafile, seadoc, mysql, redis, notification, md-server, seasearch | 8098, 8888, 8083, 8084, 4080 | File sync (migrated from VM) |
|
||||
| outline | outline, postgres, redis | 3000 | Wiki (migrated from VM) |
|
||||
| seafile | seafile, seadoc, mysql, redis, notification, md-server, seasearch | 8098, 8888, 8083, 8084, 4080 | File sync |
|
||||
| outline | outline, postgres, redis | 3000 | Wiki |
|
||||
| plane | plane, postgres, redis, minio, worker, beat-worker | 8082 | Project management |
|
||||
|
||||
## External Services (qsrproxy - 192.168.1.72)
|
||||
|
||||
| Service | Port(s) | Description |
|
||||
|---------|---------|-------------|
|
||||
| npm | 1880, 18443, 81 | Nginx Proxy Manager (CRITICAL) |
|
||||
| prometheus | 9090 | Metrics collection |
|
||||
| grafana | 3000 | Dashboards |
|
||||
| alertmanager | 9093 | Alert routing |
|
||||
| node-exporter | 9100 | System metrics |
|
||||
|
||||
## Deployment Order
|
||||
|
||||
@@ -20,78 +30,20 @@ Docker Compose stacks for Flook (192.168.1.75) managed via Portainer.
|
||||
2. `productivity` - GitLab, Vaultwarden, Memos, FreshRSS, Mortis
|
||||
3. `documents` - Paperless, OnlyOffice
|
||||
4. `backup` - Borgmatic
|
||||
5. `proxy` - CRITICAL - deploy carefully, brief downtime expected
|
||||
6. `seafile` - After migrating data from VM
|
||||
7. `outline` - After migrating data from VM
|
||||
5. `seafile` - File sync and collaboration
|
||||
6. `outline` - Wiki
|
||||
7. `plane` - Project management
|
||||
|
||||
## Migration Notes
|
||||
## Seafile Notes
|
||||
|
||||
### Seafile Migration (from VM 192.168.1.112)
|
||||
Seafile uses multiple compose files and cannot be deployed via Portainer git stack. Deploy from command line:
|
||||
|
||||
1. **Stop Seafile on VM:**
|
||||
```bash
|
||||
ssh rishi@192.168.1.112
|
||||
cd /opt/seafile && docker compose down
|
||||
cd /mnt/user/appdata/seafile
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
2. **Create directories on Flook:**
|
||||
```bash
|
||||
mkdir -p /mnt/user/appdata/seafile/{data,db-data,seadoc-data,seasearch-data}
|
||||
```
|
||||
|
||||
3. **Copy data:**
|
||||
```bash
|
||||
rsync -avP rishi@192.168.1.112:~/seafile/data/ /mnt/user/appdata/seafile/data/
|
||||
rsync -avP rishi@192.168.1.112:~/seafile/db-data/ /mnt/user/appdata/seafile/db-data/
|
||||
```
|
||||
|
||||
4. **Copy seahub_settings.py:**
|
||||
```bash
|
||||
cp /mnt/user/data/flook-stacks/stacks/seafile/seahub_settings.py /mnt/user/appdata/seafile/
|
||||
```
|
||||
|
||||
5. **Deploy stack via Portainer**
|
||||
|
||||
### Outline Migration (from VM 192.168.1.112)
|
||||
|
||||
1. **Create directories on Flook:**
|
||||
```bash
|
||||
mkdir -p /mnt/user/appdata/outline/{postgres-data,redis}
|
||||
```
|
||||
|
||||
2. **Export Postgres from VM:**
|
||||
```bash
|
||||
ssh rishi@192.168.1.112
|
||||
docker exec outline-postgres-1 pg_dump -U rishi outline > ~/outline_backup.sql
|
||||
```
|
||||
|
||||
3. **Copy backup to Flook:**
|
||||
```bash
|
||||
scp rishi@192.168.1.112:~/outline_backup.sql /mnt/user/appdata/outline/
|
||||
```
|
||||
|
||||
4. **Deploy stack via Portainer** (this creates empty DB)
|
||||
|
||||
5. **Stop outline container temporarily:**
|
||||
```bash
|
||||
docker stop outline
|
||||
```
|
||||
|
||||
6. **Import data:**
|
||||
```bash
|
||||
docker exec -i outline-postgres psql -U rishi outline < /mnt/user/appdata/outline/outline_backup.sql
|
||||
```
|
||||
|
||||
7. **Start outline:**
|
||||
```bash
|
||||
docker start outline
|
||||
```
|
||||
|
||||
8. **Stop VM services after verification:**
|
||||
```bash
|
||||
ssh rishi@192.168.1.112
|
||||
cd ~/outline && docker compose down
|
||||
```
|
||||
See `stacks/seafile/README.md` for full details.
|
||||
|
||||
## Repository
|
||||
|
||||
|
||||
Reference in New Issue
Block a user