5 Commits

Author SHA1 Message Date
Tetsuro Yokoyama
5ac6eb7440
Update self-hosted Kubernetes deployments examples for compatibility and consistency (#1177)
* fix: Quote variables in `docker-entrypoint.sh`

- This commit adds double quotes around variables in the docker-entrypoint.sh script to prevent word splitting and globbing issues, ensuring the script behaves correctly in all cases.

* fix: Ensure worker/api deployment starts with `OPENAI_API_KEY`

* fix: Add missing `FLY_PROCESS_GROUP` env var to deployments

* fix: Correct `PLAYWRIGHT_MICROSERVICE_URL` in `firecrawl-config`

* fix: Update Docker build options for Apple Silicon compatibility

* fix: Correct `PLAYWRIGHT_MICROSERVICE_URL` in `firecrawl-config`
2025-02-18 13:33:20 +01:00
Nick Roth
aa1e820d52
Fix corepack and self hosting setup (#1131)
* Update Dockerfile

Config corepack and pnpm

* Update Dockerfile

Try using this approach: https://github.com/pnpm/pnpm/issues/9029#issuecomment-2631400936

* Add ulimits command to docker compose

* Remove ulimit from entrypoint

* Add ulimit back to docker-entrypoint.sh

This implements the proposed approach to not fail when the ulimit command can't run due to the environment

* Resolve signature mismatch

Resolves issue encountered when using docker compose up on a clean environment on an intel mac. This just adds the clean command to avoid leveraging any cached data before updating apt-get and installing ca-certificates

---------

Co-authored-by: Nick Roth <nroth@dealnews.com>
Co-authored-by: Gergő Móricz <mo.geryy@gmail.com>
2025-02-05 10:19:11 +01:00
Nicolas
92b8d97be3 Nick: 2025-01-19 13:09:29 -03:00
Gergő Móricz
c6a83ab92c fix(api): entrypoint 2024-09-27 22:16:27 +02:00
Gergő Móricz
f0a1a2e45b fix: increase ulimit -n in docker 2024-09-27 20:44:52 +02:00