feat: universal setup.sh with install/update/doctor/status commands

- install: full first-time setup (unchanged flow)
- update: git pull + npm install + prisma + rebuild containers + clear cache
- doctor: 8-step diagnostic with auto-fix (deps, .env, package.json "type"
  bug, docker services, postgres schema, redis, minio bucket, .next cache)
- status: table view of all services with health, ports, DB size, Redis keys
- logs: tail service logs (default: app)
- restart: restart all containers
- reset: full teardown with double confirmation + .env backup
- Interactive menu when run without arguments

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-24 02:27:02 +03:00
parent 7f9c521fed
commit f44d4e8c03

1368
setup.sh

File diff suppressed because it is too large Load Diff