Commit graph

3 commits

Author SHA1 Message Date
Vadym Samoilenko
1a1bc97bfc Update deploy script and .env.example for PostgreSQL
- deploy.sh: wait for postgres healthcheck before app healthcheck
- deploy.sh: add one-time JSON→PostgreSQL migration prompt (step 13)
  with migration marker file to avoid re-prompting on future deploys
- deploy.sh: update summary to show both app and DB container names
- deploy.sh: check POSTGRES_PASSWORD in required keys
- .env.example: add POSTGRES_PASSWORD, ADMIN_EMAILS, emergency access vars

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 19:53:27 +00:00
Vadym Samoilenko
16bc9d0c0d fix: run git pull as SUDO_USER to use correct SSH keys 2026-03-23 14:25:44 +00:00
Vadym Samoilenko
dad8f7573a Add deploy script, .env.example, and Apache reverse proxy config
- deploy.sh: idempotent Ubuntu deployment (git pull → docker build →
  extract frontend → copy to /var/www/html/ac-helper/ → restart container)
- .env.example: production template with APP_PORT=8100
- docker-compose.yml: port now ${APP_PORT:-8100}:8000, updated proxy
  comment to Apache VirtualHost snippet
- .gitignore: whitelist .env.example

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 14:05:33 +00:00