Skip to content

Conversation

@avdemchenko
Copy link

@avdemchenko avdemchenko commented Dec 14, 2025

  • Add docker-compose.yml to run backend (FastAPI/uvicorn) and frontend (Vite) together, with ./data mounted for persisted conversations.

  • backend/Dockerfile using uv sync --frozen and running uvicorn backend.main:app on 0.0.0.0:8001

  • frontend/Dockerfile running Vite dev server on 0.0.0.0:5173

  • .dockerignore to keep images small

  • Make frontend API base configurable via VITE_API_BASE (defaults to http://localhost:8001).

  • Expand backend CORS to include 127.0.0.1 origins for local/container workflows.

  • Configure Vite dev server (host: true, port: 5173, strictPort: true) for container use.

  • Add env.template and document .env setup (keeps secrets out of git; avoids podman-compose missing env-file issues).

  • Update README.md with Docker Compose and podman-compose commands (detached/foreground/logs/stop).

Add docker-compose.yml to run backend (FastAPI/uvicorn) and frontend (Vite) together, with ./data mounted for persisted conversations.

Add container builds:
- backend/Dockerfile using uv sync --frozen and running uvicorn backend.main:app on 0.0.0.0:8001
- frontend/Dockerfile running Vite dev server on 0.0.0.0:5173
- .dockerignore to keep images small

- Make frontend API base configurable via VITE_API_BASE (defaults to http://localhost:8001).

- Expand backend CORS to include 127.0.0.1 origins for local/container workflows.

- Configure Vite dev server (host: true, port: 5173, strictPort: true) for container use.

- Add env.template and document .env setup (keeps secrets out of git; avoids podman-compose missing env-file issues).

- Update README.md with Docker Compose and podman-compose commands (detached/foreground/logs/stop).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant