docs: document Dokploy autodeploy setup in README
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
11
README.md
11
README.md
@@ -29,8 +29,13 @@ To learn more about Next.js, take a look at the following resources:
|
||||
|
||||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
|
||||
|
||||
## Deploy on Vercel
|
||||
## Deploy
|
||||
|
||||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
|
||||
Producción: **https://story-studio.carlosnarro.com** — desplegada en **Dokploy** (instancia personal "Forja", `panel.carlosnarro.com`) con **autodeploy desde Gitea**.
|
||||
|
||||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
|
||||
- **Push a `master`** en `git.carlosnarro.com/carlos/story-studio` → Dokploy reconstruye la imagen (Dockerfile) y redespliega automáticamente.
|
||||
- **Build**: `Dockerfile` (`npm run build` con webpack + `next start`). El `build` script usa `--webpack` a propósito (la config de `@remotion` es incompatible con el Turbopack por defecto de Next 16).
|
||||
- **Datos persistentes** (bind mounts, no van en la imagen):
|
||||
- `/app/data` → SQLite (`story-studio.db`)
|
||||
- `/app/projects` → imágenes y vídeos generados
|
||||
- **Env vars** en Dokploy: `GEMINI_API_KEY` (imagen), `OPENAI_API_KEY` (texto), y opcionalmente `ARK_API_KEY` (vídeo).
|
||||
|
||||
Reference in New Issue
Block a user