Prompt file imported from diOnysosdk/tilbudnu (
.github/prompts/deploy-alpha.prompt.md). Fill in{{taskType}},{{targetHost}},{{domain}},{{databaseMode}},{{details}}before use. Copyright stays with the author.
Prepare / Troubleshoot Alpha Deployment
I need help with a tilbudnu alpha deployment.
Task type: {{taskType}} Target host: {{targetHost}} Domain: {{domain}} Database mode: {{databaseMode}} Problem or goal: {{details}}
Please:
- Identify whether the issue is in the app, database, reverse proxy, DNS, or packaging step
- Use the repo’s existing deployment helpers and docs first (
alpha-package.bat,alpha-deploy.bat,make-super-admin.bat,DEPLOY.md,ALPHA_DEPLOY_WINDOWS_PI.md), and remember that live/api/*traffic is API-owned while public map web proxies should use/map-proxy/*When the target is the published Docker Hub image flow, prefernpm run docker:pull -- -DockerHubUser <user> -Tag <tag>followed bydocker compose --env-file .env.prod -f docker-compose.prod.yml up -d --no-build --pull always, and avoid telling the user to run localnpm buildcommands on the production server. - Provide or implement the smallest fix needed in scripts/docs/config
- Verify using concrete evidence (
build,curl,docker compose ps,caddy validate,pm2 status, etc.), and include stale-cache/service-worker cleanup when the live site still serves an old frontend bundle - If documentation, prompts, or agent guidance should be updated for future deploys, do that too