mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
chore: remove staging/Hetzner infra, add Watchtower auto-deploy
- Remove old Hetzner deployment workflows (cd-staging, cd-production) - Remove staging docker-compose files - Remove outdated staging/Hetzner documentation - Add Watchtower to docker-compose.macmini.yml for auto-updates - Update CLAUDE.md with Mac Mini server access - Simplify docs/DEPLOYMENT.md for new architecture Production now runs on Mac Mini with automatic deployments via Watchtower. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
f47bf8edd9
commit
ac663a6c91
27 changed files with 104 additions and 15582 deletions
28
CLAUDE.md
28
CLAUDE.md
|
|
@ -549,16 +549,34 @@ npx wrangler pages project add-domain chat-landing chat.manacore.app
|
|||
|
||||
## Server Access
|
||||
|
||||
### Hetzner Staging Server
|
||||
### Mac Mini Production Server
|
||||
|
||||
SSH access for deployment troubleshooting, log inspection, and service management:
|
||||
The production environment runs on a Mac Mini, accessible via Cloudflare Tunnel.
|
||||
|
||||
**Domain:** mana.how
|
||||
**SSH:** `ssh mana-server` (requires cloudflared and SSH config)
|
||||
|
||||
```bash
|
||||
ssh -i ~/.ssh/hetzner_deploy_key deploy@46.224.108.214
|
||||
# SSH config (~/.ssh/config)
|
||||
Host mana-server
|
||||
HostName mac-mini.mana.how
|
||||
User till
|
||||
ProxyCommand /opt/homebrew/bin/cloudflared access ssh --hostname %h
|
||||
```
|
||||
|
||||
**User:** `deploy`
|
||||
**Key:** `~/.ssh/hetzner_deploy_key`
|
||||
#### Useful Commands
|
||||
|
||||
```bash
|
||||
ssh mana-server # Connect to server
|
||||
cd ~/projects/manacore-monorepo
|
||||
|
||||
./scripts/mac-mini/status.sh # Check all services
|
||||
./scripts/mac-mini/deploy.sh # Pull & restart containers
|
||||
./scripts/mac-mini/health-check.sh # Run health checks
|
||||
docker compose -f docker-compose.macmini.yml logs -f # View logs
|
||||
```
|
||||
|
||||
For detailed server documentation, see **[docs/MAC_MINI_SERVER.md](docs/MAC_MINI_SERVER.md)**.
|
||||
|
||||
## Adding Dependencies
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue