feat(app_setup): Improves deployment reliability for app projects and adds support for mirrormatch deployment with Prisma/Next.js requirements. #5
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "mirrormatch_pve"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Improves deployment reliability for app projects and adds support for mirrormatch deployment with Prisma/Next.js requirements.
Changes
Core Improvements (affects all app projects)
Deploy Script (
deploy_app.sh.j2).env.*files during repository clonesudoto systemctl restart commands (appuser needs sudo for service management)Environment Template (
env.j2)xargserrors when sourcing env filesApp Setup Role (
app_setup/tasks/main.yml)Configure Playbook (
configure_app.yml)env_def.backend_migrate_cmdfirstdb:pushfor dev/qa)Mirrormatch-Specific Configuration
mirrormatchproject definition with dev/qa/prod environmentsbackend_migrate_cmd: "npm run db:push"for dev/qa (no shadow DB needed)backend_seed_cmdsupport for dev/qa environmentsAUTH_TRUST_HOST)Documentation
docs/guides/app_stack_proxmox.mdwith:Impact Analysis
✅ Backward Compatible
poterole)Project-Specific Configs (isolated)
All mirrormatch-specific settings are in
app_projects.mirrormatchand don't affect other projects:backend_migrate_cmd: "npm run db:push"(per-environment)backend_seed_cmd: "npm run db:seed"(per-environment)AUTH_TRUST_HOST: "true"(in env_vars)Testing
Related
Fixes deployment issues encountered during mirrormatch setup:
feat(app_setup): improve deployment reliability and add mirrormatch supportto feat(app_setup): Improves deployment reliability for app projects and adds support for mirrormatch deployment with Prisma/Next.js requirements.