Fix corepack and self hosting setup#1131
Merged
mogery merged 7 commits intofirecrawl:mainfrom Feb 5, 2025
Merged
Conversation
Config corepack and pnpm
Try using this approach: pnpm/pnpm#9029 (comment)
This was referenced Feb 4, 2025
Closed
mogery
reviewed
Feb 4, 2025
This implements the proposed approach to not fail when the ulimit command can't run due to the environment
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
Contributor
Author
|
@mogery I updated the docker-entrypoint.sh file as requested and it worked fine on my server. However, I then tried to clone the branch fresh on my local macbook pro (intel) to test that and ran into a signature issue with one of the commands in the Dockerfile. So, I made a tweak to it to avoid that issue and it works now on my macbook pro as well without having to modify the docker compose or dockerfile. This I think is now ready to go |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a set of changes that addressed the corepack issue and some additional issues with running the docker compose file in my self-hosted environment.
See issue: #1126
I fixed the corepack issue by following this approach:
After fixing the corepack issue, I was left with this error:
ulimit: open files: cannot modify limit: Operation not permitteddocker run --ulimit nofile=65535:65535 your-imageor in the docker compose file as i have implemented