Commit Graph

12 Commits

Author SHA1 Message Date
twotalesanimation 9496c70155 Pass SHOTS_API_KEY through to the app container
Deploy / deploy (push) Failing after 2m19s
The import-shots feature calls review.twotalesvfx.com from a server
action that reads process.env.SHOTS_API_KEY. That variable existed only
in the local gitignored .env, and the compose file passed just
DATABASE_URL, NEXTAUTH_SECRET and NEXTAUTH_URL to the app service. In
production the key was therefore undefined, so the action threw before
issuing any request -- and because Next.js masks server-action errors in
production, the UI showed a generic failure that looked like a network
or CDN problem rather than missing configuration.

Interpolate SHOTS_API_KEY from the deploy environment instead of
hardcoding it, so the secret stays out of the repo. The :? guard makes
compose abort with an explanatory message when the variable is missing,
rather than silently starting an app that cannot import shots.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-21 13:54:30 +02:00
twotalesanimation f1c6020e5c Remove bootstrap signup page
Deploy / deploy (push) Failing after 4m11s
Admin account has been created; the one-time setup page is no longer
needed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 16:33:54 +02:00
twotalesanimation 457469decd Add bootstrap signup page for creating the first admin user
Deploy / deploy (push) Successful in 3m43s
The CLI create-user scripts hit environment issues on the VPS (missing
ts-node, missing node_modules on the host). A /signup page sidesteps
that entirely since it runs inside the already-working Next.js server.
It's a one-time-use setup form: the server action refuses to run once
any user already exists, so it's safe to leave in place, though it can
be deleted after the first account is created.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 16:26:50 +02:00
twotalesanimation 29d5caa76a updated dockerfile
Deploy / deploy (push) Successful in 3m29s
2026-08-18 16:14:17 +02:00
twotalesanimation 3d0a6acaf1 Add plain-JS create-user script for production
Deploy / deploy (push) Successful in 3m28s
ts-node is a devDependency and isn't available after a production
install; scripts/create-user.js only needs packages already in
dependencies so it runs on the deployed server.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-18 15:40:16 +02:00
twotalesanimation 9dcf310806 User Access
Deploy / deploy (push) Successful in 2m3s
2026-08-18 15:23:22 +02:00
twotalesanimation ecf47e56cc Fix: enable standalone output for Docker
Deploy / deploy (push) Successful in 2m0s
2026-08-18 13:15:00 +02:00
twotalesanimation dd83dbb0c7 Fix: force-dynamic on all pages to prevent build-time DB queries
Deploy / deploy (push) Failing after 1m1s
2026-08-18 12:46:09 +02:00
twotalesanimation 76ca160c90 Docker compose update
Deploy / deploy (push) Failing after 1s
2026-08-18 12:28:50 +02:00
twotalesanimation 4d555d1a22 Add Gitea Actions deploy workflow
Deploy / deploy (push) Failing after 1s
2026-08-18 12:27:33 +02:00
twotalesanimation 95ed30812e Add full project files 2026-08-18 12:11:20 +02:00
twotalesanimation 8ce915bcac Initial commit from Create Next App 2026-05-12 14:54:08 +02:00