40 lines
1.6 KiB
Plaintext
40 lines
1.6 KiB
Plaintext
# Passerelle HTTPS partagée (80/443) — Salon + Tloto sans ports dans l’URL.
|
||
#
|
||
# Prérequis VPS :
|
||
# 1. Identifier qui tient 80/443 : sudo ss -tlnp | grep -E ':80|:443'
|
||
# 2. Arrêter UNIQUEMENT ce nginx (ex. Salon) pour libérer 80/443
|
||
# 3. Arrêter prediqo_nginx_https ( Prediqo ne publie plus 9080/9443 )
|
||
# 4. docker network create vps-edge
|
||
# 5. Adapter les noms ci-dessous (docker network ls / docker volume ls)
|
||
# 6. docker compose up -d (depuis ce dossier)
|
||
#
|
||
# Puis dans games-project/.env :
|
||
# APP_PUBLIC_URL=https://tloto.net
|
||
# CORS_ORIGINS=https://tloto.net,https://www.tloto.net
|
||
# VITE_API_BASE_URL=https://tloto.net
|
||
# VITE_WS_URL=wss://tloto.net/ws/v1/games/candle-predict
|
||
# et rebuild : docker compose --profile https-dns up -d --build prediqo-web
|
||
# (ou laisser https-dns down et ne garder que backend/web/redis/ws/engine/worker)
|
||
|
||
CERTBOT_EMAIL=admin@tloto.net
|
||
|
||
# Domaine principal du certificat Salon (dossier sous live/)
|
||
CERT_PRIMARY_DOMAIN=business-mgt.redirectme.net
|
||
|
||
SALON_DOMAIN1=business-mgt.redirectme.net
|
||
SALON_DOMAIN2=bright-salon.redirectme.net
|
||
|
||
PREDIQO_DOMAIN=tloto.net
|
||
PREDIQO_DOMAIN_WWW=www.tloto.net
|
||
# Nom du dossier sous /etc/letsencrypt/live/ (cert DNS tloto)
|
||
PREDIQO_CERT_NAME=tloto.net
|
||
|
||
# Réseaux Docker (adapter aux noms réels du VPS)
|
||
SALON_DOCKER_NETWORK=salon_management_project_app-net
|
||
PREDIQO_DOCKER_NETWORK=games-project_prediqo-net
|
||
|
||
# Volumes Let's Encrypt
|
||
SALON_LETSENCRYPT_VOLUME=salon_management_project_letsencrypt
|
||
SALON_CERTBOT_WWW_VOLUME=salon_management_project_certbot-www
|
||
PREDIQO_LETSENCRYPT_VOLUME=games-project_letsencrypt
|