feat: add mariadb production support deploy hardening and recruiter drafts

This commit is contained in:
cesnimda
2026-03-22 18:53:41 +01:00
parent 1fe3a68901
commit 16b9960c08
11 changed files with 130 additions and 9 deletions
+12
View File
@@ -21,6 +21,18 @@ Requirements:
- Docker Compose plugin
- reverse proxy in front (Nginx, Caddy, or Traefik)
- `.env` file present on server in `/opt/job-tracker/app/.env`
- network connectivity from the backend container to your `mariadb` container/service
### Example production `.env`
```env
DATABASE_PROVIDER=mariadb
JOBTRACKER_CONNECTION_STRING=server=mariadb;port=3306;database=jobtracker;user=jobtracker;password=REPLACE_ME
AUTH_JWT_KEY=replace_with_long_random_secret
AUTH_ADMIN_EMAIL=you@example.com
AUTH_ADMIN_PASSWORD=replace_with_strong_password
APP_PUBLIC_BASE_URL=https://your-domain.example
SUMMARIZER_BASE_URL=http://summarizer:8001
```
## Database recommendation
For production, yes — use a real database.