docs: ajout fiche machine CT 103 Paymenter et mise à jour inventaire
This commit is contained in:
parent
8e5f55c609
commit
54f4a144bf
2 changed files with 68 additions and 1 deletions
|
|
@ -24,7 +24,7 @@
|
||||||
| **100** | `reverse-proxy` | LXC (Debian 12) | `192.168.1.50` | Point d'entrée unique & SSL | **Caddy Server** (`forgium.fr`, `panel.*`, `status.*`, `monitor.*` avec SSL HTTPS auto) | **En Ligne (Production)** |
|
| **100** | `reverse-proxy` | LXC (Debian 12) | `192.168.1.50` | Point d'entrée unique & SSL | **Caddy Server** (`forgium.fr`, `panel.*`, `status.*`, `monitor.*` avec SSL HTTPS auto) | **En Ligne (Production)** |
|
||||||
| **101** | `ptero-panel` | LXC (Debian 12) | `192.168.1.51` | Gestionnaire de serveurs de jeu | **Pterodactyl Panel**, Nginx, PHP 8.2-FPM, MariaDB, Redis (`https://panel.forgium.fr`) | **En Ligne (Opérationnel)** |
|
| **101** | `ptero-panel` | LXC (Debian 12) | `192.168.1.51` | Gestionnaire de serveurs de jeu | **Pterodactyl Panel**, Nginx, PHP 8.2-FPM, MariaDB, Redis (`https://panel.forgium.fr`) | **En Ligne (Opérationnel)** |
|
||||||
| **102** | `wings-node-01` | LXC (Debian 12) | `192.168.1.52` | Exécuteur Docker de jeux & bots | **Pterodactyl Wings**, Docker Engine (Runners Minecraft/Rust/Bots) | **Opérationnel & Testé** (1er serveur Minecraft Paper actif !) |
|
| **102** | `wings-node-01` | LXC (Debian 12) | `192.168.1.52` | Exécuteur Docker de jeux & bots | **Pterodactyl Wings**, Docker Engine (Runners Minecraft/Rust/Bots) | **Opérationnel & Testé** (1er serveur Minecraft Paper actif !) |
|
||||||
| **103** | `billing-paymenter` | LXC (Debian 12) | `192.168.1.53` | Boutique & Facturation auto | **Paymenter**, Stripe/PayPal webhooks, provisionnement auto vers Pterodactyl | *Prévu (Phase 7)* |
|
| **103** | `paymenter-client` | LXC (Debian 12) | `192.168.1.53` | Boutique, Portail Client & Livraison 0€ | **Paymenter**, Nginx, PHP 8.2-FPM, MariaDB, Redis (`https://client.forgium.fr`) | **En cours de déploiement** |
|
||||||
| **104** | `monitoring-stack` | LXC (Debian 12) | `192.168.1.54` | Surveillance & Métriques Admin | **Uptime Kuma** (`https://status.forgium.fr`), sondes actives (Panel, Wings, Caddy, MC) | **En Ligne (Opérationnel)** |
|
| **104** | `monitoring-stack` | LXC (Debian 12) | `192.168.1.54` | Surveillance & Métriques Admin | **Uptime Kuma** (`https://status.forgium.fr`), sondes actives (Panel, Wings, Caddy, MC) | **En Ligne (Opérationnel)** |
|
||||||
| **105** | `forge-backups` | LXC (Debian 12) | `192.168.1.55` | Rapatriement sauvegardes | Restic / BorgBackup, synchronisation disques durs secondaires | *Prévu (Phase 9)* |
|
| **105** | `forge-backups` | LXC (Debian 12) | `192.168.1.55` | Rapatriement sauvegardes | Restic / BorgBackup, synchronisation disques durs secondaires | *Prévu (Phase 9)* |
|
||||||
| **106** | `forge-shield` | LXC (Debian 12) | `192.168.1.56` | **Bouclier Pare-feu & Fail2ban** | **Fail2ban (actif) + nftables** (Appliance modulaire remplaçable par matos pro) | **Opérationnel** |
|
| **106** | `forge-shield` | LXC (Debian 12) | `192.168.1.56` | **Bouclier Pare-feu & Fail2ban** | **Fail2ban (actif) + nftables** (Appliance modulaire remplaçable par matos pro) | **Opérationnel** |
|
||||||
|
|
|
||||||
67
Idées/SERVEUR_ADMIN_103_PAYMENTER_CLIENT.md
Normal file
67
Idées/SERVEUR_ADMIN_103_PAYMENTER_CLIENT.md
Normal file
|
|
@ -0,0 +1,67 @@
|
||||||
|
# Fiche Technique Machine Admin : CT 103 - Paymenter Client Portal
|
||||||
|
|
||||||
|
*Rôle dans l'écosystème Forgium : Portail client transactionnel, gestion des comptes utilisateurs, boutique en ligne automatisée (0.00 €), passerelle de commande et provisionnement automatique vers Pterodactyl Panel.*
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 1. Identité & Réseau
|
||||||
|
- **ID Conteneur** : `103`
|
||||||
|
- **Hostname** : `paymenter-client`
|
||||||
|
- **Type** : Conteneur LXC Debian 12 Bookworm (Non-privilégié, `features: nesting=1`)
|
||||||
|
- **Adresse IP Statique Locale** : `192.168.1.53/24`
|
||||||
|
- **Passerelle** : `192.168.1.254` (Bbox Fibre)
|
||||||
|
- **Domaine Public Sécurisé** : `https://client.forgium.fr` (Routé par Caddy CT 100)
|
||||||
|
- **Statut** : Opérationnel (`running`)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2. Ressources Matérielles Allouées
|
||||||
|
- **vCPU** : 2 cœurs (AMD Ryzen 7 3700X)
|
||||||
|
- **Mémoire RAM** : 2048 Mo (2 Go)
|
||||||
|
- **Swap** : 512 Mo
|
||||||
|
- **Stockage SSD** : 15 Go (sur pool Proxmox `local-lvm`)
|
||||||
|
- **Démarrage automatique** : `onboot=1`
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 3. Pile Logicielle & Architecture
|
||||||
|
- **Serveur Web** : Nginx (`nginx.service`) écoutant sur le port local 80
|
||||||
|
- **Moteur PHP** : PHP 8.2-FPM (`php8.2-fpm.service`)
|
||||||
|
- Modules activés : `curl`, `mbstring`, `xml`, `bcmath`, `zip`, `gd`, `intl`, `pdo_mysql`
|
||||||
|
- **Base de Données** : MariaDB Server 10.11 (`mariadb.service`)
|
||||||
|
- Base : `paymenter`
|
||||||
|
- Utilisateur : `paymenter`
|
||||||
|
- Mot de passe de référence : `ForgiumPay2026Secure`
|
||||||
|
- **Cache & Sessions** : Redis Server (`redis-server.service`)
|
||||||
|
- **Worker d'Orchestration** : `paymenter.service` (Queue Worker Laravel)
|
||||||
|
- **Cron Planificateur** : `* * * * * php /var/www/paymenter/artisan schedule:run`
|
||||||
|
- **Application Path** : `/var/www/paymenter`
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 4. Interconnexions API & Flux Automatisés
|
||||||
|
- **Passerelle Pterodactyl** :
|
||||||
|
- URL cible interne : `http://192.168.1.51` (CT 101) ou public `https://panel.forgium.fr`
|
||||||
|
- Clé Application : Générée sur Pterodactyl avec droits complets (`Servers`, `Users`, `Nodes`, `Allocations`)
|
||||||
|
- **Workflow de Livraison Instantanée (0.00 €)** :
|
||||||
|
1. Le client s'inscrit sur `https://client.forgium.fr`.
|
||||||
|
2. Il choisit une formule gratuite (Bot Discord, Serveur Minecraft).
|
||||||
|
3. Il valide le panier à **0.00 €** sans moyen de paiement bancaire requis.
|
||||||
|
4. Paymenter déclenche l'API Pterodactyl :
|
||||||
|
- Création du compte client sur Pterodactyl avec son adresse e-mail.
|
||||||
|
- Déploiement automatique du conteneur dans le bon Nest & Egg sur Wings (CT 102).
|
||||||
|
5. Le client reçoit ses accès et peut immédiatement gérer son serveur.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 5. Commandes de Maintenance Utiles
|
||||||
|
```bash
|
||||||
|
# Vérifier l'état des services du portail
|
||||||
|
pct exec 103 -- systemctl is-active nginx php8.2-fpm mariadb redis-server paymenter
|
||||||
|
|
||||||
|
# Exécuter les tâches planifiées manuellement
|
||||||
|
pct exec 103 -- bash -c "cd /var/www/paymenter && php artisan schedule:run"
|
||||||
|
|
||||||
|
# Consulter les logs d'erreurs
|
||||||
|
pct exec 103 -- tail -n 50 /var/www/paymenter/storage/logs/laravel-*.log
|
||||||
|
```
|
||||||
Loading…
Add table
Reference in a new issue