feat/Update_Controllers_to_Allow_for_Premium_Membership
This commit is contained in:
@@ -34,7 +34,7 @@ This runs: frontend (nginx), backend API, the local AI service, and an Ollama co
|
||||
1) Create a `.env` file next to `docker-compose.yml` (you can start from `.env.example`).
|
||||
|
||||
```bash
|
||||
docker compose up --build
|
||||
docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build
|
||||
```
|
||||
|
||||
- UI: `http://localhost:3000`
|
||||
@@ -127,7 +127,7 @@ With Docker (recommended):
|
||||
OLLAMA_MODEL=qwen2.5:7b ./scripts/start-ollama-cv.sh
|
||||
|
||||
# Then start the rest of the app if needed
|
||||
docker compose up --build -d backend frontend
|
||||
docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build -d backend frontend
|
||||
```
|
||||
|
||||
The first Ollama startup is usually quick, but the first model pull and first generation can take a while. After the model is cached in the `ollama_data` volume, later restarts are much faster.
|
||||
@@ -146,7 +146,8 @@ Common keys:
|
||||
- `CvExports:RetainDays`: generated PDF retention in days (default `30`, clamped to `1`–`365`)
|
||||
- `Cors:Origins`: list of allowed origins (defaults to `http://localhost:3000`; wildcard origins are rejected because requests use credentials)
|
||||
- `Ai:BaseUrl`: AI service base URL (default `http://127.0.0.1:8001`)
|
||||
- `Exports:DailyEnabled`: enable/disable daily export background job
|
||||
- `Workers:RulesEnabled`, `Workers:FollowUpRemindersEnabled`, `Workers:DailyExportEnabled`, `Workers:JobEnrichmentEnabled`: explicit worker kill switches, all default `false`; do not enable before the prerequisites in `docs/architecture/background-workers.md`
|
||||
- `Exports:DailyEnabled`: legacy daily-export setting; both it and `Workers:DailyExportEnabled` must be true
|
||||
- `Exports:DailyFolder`: export destination (relative to `Data:Root` if not absolute)
|
||||
- `Exports:DailyHourLocal`: local hour (0–23) when the daily export runs
|
||||
- `Backups:Enabled`: enable/disable the automated SQLite backup job (default `true`)
|
||||
@@ -166,7 +167,8 @@ Common keys:
|
||||
- `Translation:Provider`: `none` (default) or `libretranslate`
|
||||
- `Translation:LibreTranslate:BaseUrl`: base URL for LibreTranslate (only if provider enabled)
|
||||
- `Translation:LibreTranslate:ApiKey`: optional API key for LibreTranslate
|
||||
- `App:PublicBaseUrl`: public base URL used when generating links in emails (example: `https://jobs.cesnimda.uk`)
|
||||
- `App:PublicBaseUrl`: the single external origin used for email links, OAuth callbacks, billing redirects, secure cookies, and production Host validation (Production requires HTTPS; local development defaults to `http://localhost:3000`)
|
||||
- `Auth:MicrosoftTenant`: Microsoft application sign-in policy (`common`, `organizations`, `consumers`, or one tenant GUID); required in Production when Microsoft sign-in is enabled and distinct from Graph's `Microsoft:TenantId`
|
||||
- `Email:Enabled`: enable SMTP sending (`true`/`false`)
|
||||
- `Email:SmtpHost`: SMTP host (for Gmail: `smtp.gmail.com`)
|
||||
- `Email:SmtpPort`: SMTP port (for Gmail: `587`)
|
||||
|
||||
Reference in New Issue
Block a user