Final: Domain-based HTTPS deployment complete

This commit is contained in:
oguz ozturk 2026-01-10 13:36:38 +03:00
parent 4f48f4fa1c
commit 60d1362013
1 changed files with 41 additions and 16 deletions

View File

@ -9,25 +9,36 @@
--- ---
## 🌐 Production URLs
| Service | URL | Status |
|---------|-----|--------|
| **Frontend** | https://argeict.net | ✅ Running |
| **Backend API** | https://api.argeict.net | ✅ Running |
| **Gitea** | https://gitea.argeict.net | ✅ Running |
---
## 🎯 Deployed Services ## 🎯 Deployed Services
### ✅ Core Services ### ✅ Core Services
| Service | Port | URL | Status | | Service | Port | Internal URL | Status |
|---------|------|-----|--------| |---------|------|--------------|--------|
| **Frontend (React)** | 3001 | http://176.96.129.77 | ✅ Running | | **Frontend (React + Vite)** | 3001 | http://127.0.0.1:3001 | ✅ Running |
| **Backend API (Flask)** | 5000 | http://176.96.129.77/api | ✅ Running | | **Backend API (Flask)** | 5000 | http://127.0.0.1:5000 | ✅ Running |
| **Gitea** | 3000 | http://176.96.129.77:3000 | ✅ Running | | **Gitea** | 3000 | http://127.0.0.1:3000 | ✅ Running |
| **PostgreSQL** | 5432 | localhost | ✅ Running | | **PostgreSQL** | 5432 | localhost:5432 | ✅ Running |
| **Redis** | 6379 | localhost | ✅ Running | | **Redis** | 6379 | localhost:6379 | ✅ Running |
| **Nginx** | 80 | http://176.96.129.77 | ✅ Running | | **Nginx (HTTPS)** | 443 | - | ✅ Running |
| **Nginx (HTTP → HTTPS)** | 80 | - | ✅ Running |
### 🔐 Credentials ### 🔐 Credentials
**Gitea Admin**: **Gitea Admin**:
- Username: `hostadmin` - Username: `hostadmin`
- Password: `HostAdmin2024!` - Password: `HostAdmin2024!`
- Repository: http://176.96.129.77:3000/hostadmin/hosting-platform - Repository: https://gitea.argeict.net/hostadmin/hosting-platform
**PostgreSQL**: **PostgreSQL**:
- User: `hosting_user` - User: `hosting_user`
@ -37,6 +48,12 @@
**Redis**: **Redis**:
- No password (localhost only) - No password (localhost only)
**SSL Certificates (Let's Encrypt)**:
- Certificate: `/etc/letsencrypt/live/argeict.net/fullchain.pem`
- Private Key: `/etc/letsencrypt/live/argeict.net/privkey.pem`
- Domains: `argeict.net`, `api.argeict.net`, `gitea.argeict.net`
- Expires: `2026-04-10` (Auto-renewal enabled via certbot timer)
--- ---
## 🏗️ Architecture ## 🏗️ Architecture
@ -169,16 +186,24 @@ redis-cli
### Health Check ### Health Check
```bash ```bash
curl http://176.96.129.77/health curl https://api.argeict.net/health
``` ```
### API Test ### API Test
```bash ```bash
curl http://176.96.129.77/api/domains curl https://api.argeict.net/api/domains
``` ```
### Frontend ### Frontend
Open browser: http://176.96.129.77 Open browser: https://argeict.net
### Gitea
Open browser: https://gitea.argeict.net
### SSL Certificate Check
```bash
openssl s_client -connect argeict.net:443 -servername argeict.net < /dev/null 2>/dev/null | openssl x509 -noout -dates
```
--- ---