Skip to content
deploy docker github-actions

Deploy en producción: Actions, Docker y sitio en vivo

Deploy SSH con GitHub Actions, rebuild Docker en VPS y TLS con Astro SSR.

S

Stack Team

2 min de lectura

Guía de los pasos 4–6 del pipeline en la homepage.

GitHub Actions

En push a main o develop: SSH al VPS, pull, sustitución de AUTH_GATEWAY_URL, build y compose up -d --force-recreate.

Secrets: SSH_HOST, SSH_USER, SSH_PRIVATE_KEY, DEPLOY_PATH_PROD, DEPLOY_PATH_TEST.

Docker en VPS

Contenedores app (Astro SSR :4325) y auth-gateway (OAuth :3000) en la red web-public.

Sitio en vivo

Nginx Proxy Manager termina TLS y enruta al contenedor Astro. OAuth en /api/auth al gateway.


Anterior: Pipeline de contenido

Volver a docs
Compartir:

Soluciones relacionadas

---