Commit Graph

10 Commits

Author SHA1 Message Date
Anurag Saxena
e1c092c297 fix: redirect ~/.9router to DATA_DIR in Docker to persist usage data across updates (closes #585) (#658) 2026-05-03 15:18:06 +07:00
nghionpoint
7887f4fd32 Parameterize Bun image and improve package management in Dockerfile
- Introduced `BUN_IMAGE` build argument for flexibility in specifying the Bun image version.
- Added `apk --no-cache upgrade` for ensuring up-to-date packages.
- Streamlined apk package additions for improved dependency management.
2026-04-10 10:47:37 +07:00
nghionpoint
5d3780cfd2 Update Docker build process and documentation
- Replaced `bun run build:bun` with `npm run build` in Dockerfile for consistency.
- Enhanced `DOCKER.md` to include `DATA_DIR` environment variable usage for database persistence.
- Clarified paths for container and host data storage.
2026-04-10 10:14:34 +07:00
nghionpoint
d99f63cf36 Add Docker support and improve Dockerfile configuration
- Added `DOCKER.md` documentation to guide users on using Docker with the project.
- Migrated Dockerfile to use `oven/bun:1-alpine` for performance improvements.
- Refined build process and permissions in the container for better compatibility.
- Excluded `.idea/` files in `.gitignore`.
- Enhanced `.npmignore` to clean redundant blank lines.
2026-04-09 14:21:30 +07:00
Loc Nguyen Huu
8c0b4a3e84 [fix] fix mitm for docker and enhance dockerfile (#381)
* [fix] macos

* chore: clean up .gitignore by removing unnecessary start.sh entry

---------

Co-authored-by: lokinh <locnh@uniultra.xyz>
2026-03-23 09:23:14 +07:00
Doan Minh Tu
8c51edabcf fix(docker): use entrypoint to fix /app/data permissions on mounted volumes 2026-03-11 08:33:04 +07:00
Doan Minh Tu
9c757ff7d2 fix(docker): move data dir chown after COPY to fix EACCES permission error 2026-03-11 08:24:48 +07:00
Doan Minh Tu
91c1bc848e ci: harden Dockerfile and workflow security 2026-03-11 06:49:10 +07:00
Hồ Xuân Dũng
a57a8ce206 feat: add Gemini embeddings support + Letta compatibility fixes
Cherry-picked from decolua/9router#148 (author: xuandung38 / Hồ Xuân Dũng <me@hxd.vn>)

- Add Google AI (Gemini) embeddings support for /v1/embeddings endpoint
- Add Gemini embedding models: gemini-embedding-001, text-embedding-005, text-embedding-004
- Inject missing object/created fields for Letta and strict OpenAI clients
- Strip Azure-specific fields (prompt_filter_results, content_filter_results) from responses
- Fix Dockerfile: copy open-sse directory into Docker runner stage

Skipped: whitelist message field stripping (commit 3/7/8) — too aggressive for all providers
Skipped: default stream=false change (commit 9) — behavior change needs further review
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-20 15:01:10 +07:00
Diego Souza
5e4a15bb0c feat(docker): add Docker setup, environment examples, and architecture docs 2026-02-06 22:45:03 +00:00