feat: docker and docker compose added

This commit is contained in:
2026-08-02 23:33:59 +03:30
parent a7a02ef141
commit 4eb9d7fb37
5 changed files with 103 additions and 0 deletions
+21
View File
@@ -79,6 +79,27 @@ bundled Oh My CV Markdown editor. Its **AI Tailor with Signal** tool can learn t
current editor buffer, tailor it to a job URL or pasted description, apply the audited
Markdown directly, and restore the pre-AI version with one click.
### Docker Compose
After configuring `.env`, build and start the complete app with:
```bash
docker compose up --build
```
Open `http://127.0.0.1:8000`. The image builds Oh My CV and serves it from `/cv/` through
the same FastAPI process. Career-profile state and generated resumes persist in the
host's `.resume-agent/` and `output/` directories.
To use another host port, set `RESUME_AGENT_PORT` when starting Compose:
```bash
RESUME_AGENT_PORT=8080 docker compose up --build
```
Stop the service with `docker compose down`. This leaves the persisted profile and
outputs intact.
Both frontends include a **Tailoring strength** slider. At `0`, the agent stays close
to the source wording and organization. At `100`, it uses the fullest supported detail
and strongest truthful job alignment. The slider never relaxes evidence validation;