fix: port 3000 > 3020, APP_DIR /opt/cirux > /home/ubuntu/cirux

This commit is contained in:
2026-05-31 17:25:27 -05:00
parent 1004707d8f
commit d99aec2f1a
5 changed files with 20 additions and 17 deletions
+5 -5
View File
@@ -5,7 +5,7 @@
```
┌─────────────┐ ┌──────────────┐ ┌─────────────┐
│ Internet │────▶│ Nginx (80/443) │───▶│ Next.js │
│ │ │ Reverse Proxy │ │ (port 3000)│
│ │ │ Reverse Proxy │ │ (port 3020)│
└─────────────┘ └──────────────┘ └─────────────┘
┌──────┴──────┐
@@ -19,8 +19,8 @@
### 1. Clone & Prepare
```bash
git clone <your-repo> /opt/cirux
cd /opt/cirux
git clone <your-repo> /home/ubuntu/cirux
cd /home/ubuntu/cirux
```
### 2. Configure Environment
@@ -159,7 +159,7 @@ jobs:
username: ${{ secrets.VPS_USER }}
key: ${{ secrets.VPS_SSH_KEY }}
script: |
cd /opt/cirux
cd /home/ubuntu/cirux
git pull
docker-compose down
docker-compose build --no-cache
@@ -189,7 +189,7 @@ docker-compose restart nginx
### Health check fails
```bash
# Test locally
curl http://localhost:3000/api/health
curl http://localhost:3020/api/health
# Should return {"status":"ok"}
```