-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: further enhance Docker and docker-comose support with staged, --target and --profile support, plus Coolify Deployment Support #71
Conversation
Co-authored-by: apai4 <[email protected]>
Co-authored-by: Sleeyax <[email protected]>
Docker deployment documentation has been added to CONTRIBUTING.md. Ready for merge. I se another contributor added a .dockerignore file, which is certainly neded, but my adding one here at his point would just introduce conflicts, so I suggest you merge his along with this |
I get this error when I try to use any of the docker build options:
And regarding the devcontainer option, there isn't a |
It appears as hough you neglected to run
Your container will launched and mounts mad to your existing working tree, where changes made will be reflected via the typical file watch and automatic reload process. |
@hillct, I am able to spin up a devcontainer based on your instructions and I do see the page localhost:5173. However, when I enter a promp, I get an error message in the UI. And container log
|
Using docker-compose.yaml to start devcontainer resulted in error (above). The preview is not working though. The URL that got generated was - https://k03e2io1v3fx9wvj0vr8qd5q58o56n-fkdo--5173--34c588ed.local-corp.webcontainer-api.io and if I copy and try to open the URL in my regular browser window it gets redirected to stackbliz website! |
You appear to have two separate issues, neither of which are related to this commit. So I suggest you open a separate ticket relating to the latter issue of your deployment detailing where you're proposing to deploy and how you got that deployment preview URL. I'm not particularly familiar with the service you're using there. The former issue relating to errors accessing localhost relate to the code attempting to Access the Ollama API presumably because you indicated an ollama base URL in your .env / .env.local file. If you did not indicate an ollama base URL, then there's a separate bug relating to always attempting connectivity to the Ollama API, even when it would otherwise not be available in a particular deployment. |
This is fantastic, thank you @hillct! |
hi here my log :
⛅️ wrangler 3.63.2 (update available 3.84.1)✨ Compiled Worker successfully KAK[wrangler:inf] - http://127.0.0.1:5173 KAK[wrangler:inf] - http://172.22.0.3:5173 KAK⎔ Starting local server... KAK[wrangler:inf] GET / 200 OK (59ms) KAK[wrangler:inf] GET /assets/root-BAISjcDY.css 200 OK (20ms) KAK[wrangler:inf] GET /assets/tailwind-compat-CC20SAMN.css 200 OK (20ms) KAK[wrangler:inf] GET /assets/_index-D_NZK3VS.css 200 OK (18ms) KAK[wrangler:inf] GET /assets/index-CPTzpSUP.css 200 OK (28ms) KAK[wrangler:inf] GET /assets/xterm-lQO2bNqs.css 200 OK (43ms) KAK[wrangler:inf] GET /assets/entry.client-ydwSl9ol.js 200 OK (58ms) KAK[wrangler:inf] GET /assets/manifest-b9164733.js 200 OK (60ms) KAK[wrangler:inf] GET /assets/ReactToastify-CYivYX3d.css 200 OK (78ms) KAK[wrangler:inf] GET /assets/components-bNrEeZYQ.js 200 OK (73ms) KAK[wrangler:inf] GET /assets/_index-Bwp_IjFi.js 200 OK (392ms) KAK[wrangler:inf] GET /assets/theme-C4y9B7zS.js 200 OK (458ms) KAK[wrangler:inf] GET /assets/_index-Bw-caVqU.js 200 OK (392ms) KAK[wrangler:inf] GET /assets/root-CTO1zTZC.js 200 OK (450ms) KAK[wrangler:inf] GET /assets/wasm-CsTmP73Z.js 200 OK (199ms) KAK[wrangler:inf] GET /assets/dark-plus-KEYLhlmT.js 200 OK (1620ms) KAK[wrangler:inf] GET /assets/shellscript-BZfs-ost.js 200 OK (1619ms) KAK[wrangler:inf] GET /assets/light-plus-BsvsQ1iS.js 200 OK (1620ms) KAK[wrangler:inf] GET /favicon.svg 200 OK (589ms) KAKLoadAPIKeyError [AI_LoadAPIKeyError]: Google Generative AI API key is missing. Pass it using the 'apiKey' parameter. Environment variables is not supported in this environment. KAK[wrangler:inf] POST /api/chat 500 Internal Server Error (28ms) ./bindings.sh: line 12: .env.local: No such file or directory |
commit 64e95a0 Author: Cole Medin <[email protected]> Date: Fri Nov 1 14:00:06 2024 -0500 Small mention of hot reloading even when running in container commit 7fe66ae Author: Cole Medin <[email protected]> Date: Fri Nov 1 13:34:50 2024 -0500 Fixing up setup + installation instructions in README commit a265d72 Merge: 22ae9d8 92a19bf Author: Cole Medin <[email protected]> Date: Fri Nov 1 13:14:45 2024 -0500 Merge pull request stackblitz-labs#77 from ajshovon/main chore: create .dockerignore file commit 22ae9d8 Author: Cole Medin <[email protected]> Date: Fri Nov 1 07:09:19 2024 -0500 Fixing up Docker Compose to work with hot reloads in development and environment variables commit 349c5d5 Merge: 3cbe207 c116338 Author: Cole Medin <[email protected]> Date: Thu Oct 31 14:35:25 2024 -0500 Merge pull request stackblitz-labs#71 from hillct/add-docker-support fix: further enhance Docker and docker-comose support with staged, --target and --profile support, plus Coolify Deployment Support commit 3cbe207 Merge: 2feeb18 0089d5c Author: Cole Medin <[email protected]> Date: Thu Oct 31 14:33:09 2024 -0500 Merge pull request stackblitz-labs#55 from mayurjobanputra/main Added more detailed instructions commit 2feeb18 Author: Cole Medin <[email protected]> Date: Thu Oct 31 14:22:08 2024 -0500 More feature requests! Will look at pull requests soon commit 065be0f Author: Cole Medin <[email protected]> Date: Mon Oct 28 13:13:44 2024 -0500 Added DEEPSEEK_API_KEY to .env.example commit c116338 Author: hillct <[email protected]> Date: Sat Oct 26 10:27:44 2024 -0400 Added Docker Deployment documentation to CONTRIBUTING.md commit 92a19bf Author: shovon <[email protected]> Date: Fri Oct 25 12:36:38 2024 +0600 create .dockerignore file commit a69ce87 Author: Colin Hill <[email protected]> Date: Thu Oct 24 17:48:54 2024 -0400 Corrected oudated docker build convenience script target commit 8d48cf9 Merge: 5ec2b12 8e7220e Author: Colin Hill <[email protected]> Date: Thu Oct 24 17:15:22 2024 -0400 Merge branch 'main' into add-docker-support commit 5ec2b12 Author: Colin Hill <[email protected]> Date: Thu Oct 24 16:40:48 2024 -0400 Adding full suffix o cocker-compose.yaml for ompatibiliy commit 87ef835 Author: Colin Hill <[email protected]> Date: Thu Oct 24 16:36:57 2024 -0400 Adding hints for Coolify config into docker-compose.yaml commit 36cc601 Merge: 25ac7f8 2620b3d Author: Colin Hill <[email protected]> Date: Thu Oct 24 15:49:26 2024 -0400 Merge branch 'add-docker-support' of github.com:hillct/bolt.new-any-llm into add-docker-support Just a little cleanup... nixpax.toml is no more. Embedding Coolify config in Dockerfile and docker-compose.yaml commit 25ac7f8 Author: Colin Hill <[email protected]> Date: Thu Oct 24 14:50:45 2024 -0400 Corrected nixpacks.toml filename commit 8e7220e Merge: 7b28a75 4c25af9 Author: Cole Medin <[email protected]> Date: Thu Oct 24 13:56:52 2024 -0500 Merge pull request stackblitz-labs#70 from ArulGandhi/main Update constants.ts commit 2620b3d Author: Colin Hill <[email protected]> Date: Thu Oct 24 14:50:45 2024 -0400 Corrected nixpacks.toml filename commit 2773a7e Merge: fdc2f6c b21b145 Author: Colin Hill <[email protected]> Date: Thu Oct 24 14:48:05 2024 -0400 Enhancing Dockerfile to use a staged build, and docker-compose-yaml to use profiles, either 'development' or 'producion'. Adding nixpacks.toml to enable robust coolify support commit 4c25af9 Author: ArulGandhi <[email protected]> Date: Thu Oct 24 23:18:22 2024 +0530 Update constants.ts Fix a bug in model names causing 2 models to fail commit 7b28a75 Author: Cole Medin <[email protected]> Date: Thu Oct 24 08:58:43 2024 -0500 Updating README with finished implementations and reorder the list of priorities commit 8ab8e67 Author: Cole Medin <[email protected]> Date: Thu Oct 24 08:46:34 2024 -0500 Cleanup and fixing Ollama models not showing up after merging changes commit b21b145 Merge: 5f6a595 f1b8c02 Author: Cole Medin <[email protected]> Date: Thu Oct 24 08:25:23 2024 -0500 Merge pull request stackblitz-labs#64 from noobydp/main Further changes to support OLLAMA_API_BASE_URL with ollama models commit f1b8c02 Merge: 8ce82b5 5f6a595 Author: Cole Medin <[email protected]> Date: Thu Oct 24 08:25:07 2024 -0500 Merge branch 'main' into main commit 5f6a595 Merge: ca99ed5 4660e5b Author: Cole Medin <[email protected]> Date: Thu Oct 24 08:20:49 2024 -0500 Merge pull request stackblitz-labs#60 from ZerxZ/main chore: Add environment variables for OpenAI Like integration commit 4660e5b Merge: 05c0137 ca99ed5 Author: Cole Medin <[email protected]> Date: Thu Oct 24 08:19:59 2024 -0500 Merge branch 'main' into main commit ca99ed5 Merge: 65cf12d d999e9e Author: Cole Medin <[email protected]> Date: Thu Oct 24 08:13:43 2024 -0500 Merge pull request stackblitz-labs#51 from zenith110/main Adding Deepseek coder + Deepseek chat with the Deepseek API. commit d999e9e Merge: a6e6619 65cf12d Author: Cole Medin <[email protected]> Date: Thu Oct 24 08:13:26 2024 -0500 Merge branch 'main' into main commit 65cf12d Merge: 5d70255 f706523 Author: Cole Medin <[email protected]> Date: Thu Oct 24 08:07:34 2024 -0500 Merge pull request stackblitz-labs#44 from TarekS93/main Enhance Ollama Model Integration and Type Definitions commit 5d70255 Merge: d40be24 285a955 Author: Cole Medin <[email protected]> Date: Thu Oct 24 08:06:00 2024 -0500 Merge pull request stackblitz-labs#36 from ArulGandhi/main Add mistral models. commit d40be24 Merge: 5a10894 368022d Author: Cole Medin <[email protected]> Date: Thu Oct 24 07:57:00 2024 -0500 Merge pull request stackblitz-labs#30 from muzafferkadir/main feat: added sync files to selected local folder function is created.Yarn package manager fixes, styling fixes. Sass module fix. Added Claude model for open router. commit 368022d Merge: 49217f2 5a10894 Author: Cole Medin <[email protected]> Date: Thu Oct 24 07:56:48 2024 -0500 Merge branch 'main' into main commit 5a10894 Merge: 47a7932 059933a Author: Cole Medin <[email protected]> Date: Thu Oct 24 07:38:48 2024 -0500 Merge pull request stackblitz-labs#24 from goncaloalves/main Added GitHub push functionality commit 47a7932 Merge: 69aceea 9ca017c Author: Cole Medin <[email protected]> Date: Thu Oct 24 07:30:21 2024 -0500 Merge pull request stackblitz-labs#23 from aaronbolton/main Docker Additions commit 69aceea Merge: 62e5091 f761509 Author: Cole Medin <[email protected]> Date: Thu Oct 24 07:19:25 2024 -0500 Merge pull request stackblitz-labs#12 from fernsdavid25/patch-1 Fix for llama 3.1 models commit 62e5091 Merge: 8ac7931 9b38dbd Author: Cole Medin <[email protected]> Date: Thu Oct 24 07:17:05 2024 -0500 Merge pull request stackblitz-labs#11 from kofi-bhr/main [Prompt] Add structured planning step to improve response quality commit 9b38dbd Merge: 5b35213 8ac7931 Author: Cole Medin <[email protected]> Date: Thu Oct 24 07:15:25 2024 -0500 Merge branch 'main' into main commit 8ac7931 Author: Cole Medin <[email protected]> Date: Thu Oct 24 07:06:57 2024 -0500 Adding CONTRIBUTING.md specifically for this fork. commit 8ce82b5 Author: noobydp <[email protected]> Date: Thu Oct 24 16:49:11 2024 +0800 updated ollama to use defined base URL for model calls commit fdc2f6c Author: Colin Hill <[email protected]> Date: Thu Oct 24 03:54:45 2024 -0400 Enabled boh dev and production docker images. Added convenience scripts and deconflicted start and dockerstart scripts commit 94fa108 Merge: dd4dd2c 05c0137 Author: noobydp <[email protected]> Date: Thu Oct 24 13:10:56 2024 +0800 Merge pull request #1 from ZerxZ/main chore: Add environment variables for OpenAI Like integration commit 7448666 Merge: 8fb0248 dd4dd2c Author: Colin Hill <[email protected]> Date: Wed Oct 23 23:34:14 2024 -0400 Merge branch 'main' from coleam00 into add-docker-support commit 05c0137 Author: Gaoyao Massimo Hu <[email protected]> Date: Wed Oct 23 16:45:16 2024 +0100 chore: Update environment variable names for OpenAI Like integration commit 9f2db7b Author: Gaoyao Massimo Hu <[email protected]> Date: Wed Oct 23 16:43:27 2024 +0100 chore: Update environment variable names for OpenAI Like integration commit 30dfa4f Author: Gaoyao Massimo Hu <[email protected]> Date: Wed Oct 23 16:36:12 2024 +0100 chore: Add environment variables for OpenAI API Like integration commit 9ca017c Author: Aaron Bolton <[email protected]> Date: Wed Oct 23 14:57:53 2024 +0100 Update docker-compose.yml commit 0089d5c Merge: dd4dd2c e13790c Author: Mayur <[email protected]> Date: Tue Oct 22 23:09:48 2024 -0700 Merge pull request #1 from mayurjobanputra/mayurjobanputra-patch-1 Added more instructions for newbs commit e13790c Author: Mayur <[email protected]> Date: Tue Oct 22 23:08:30 2024 -0700 Added more instructions for newbs commit a6e6619 Merge: 3b90afb dd4dd2c Author: zenith110 <[email protected]> Date: Tue Oct 22 18:19:34 2024 -0400 Merge branch 'main' of https://github.com/zenith110/bolt.new-any-llm commit 3b90afb Author: zenith110 <[email protected]> Date: Tue Oct 22 18:19:27 2024 -0400 Added deepseek models commit 8fb0248 Merge: a4a722b cecbc55 Author: Rahul Bhardwaj <[email protected]> Date: Tue Oct 22 21:17:16 2024 +0530 Merge branch 'main' into add-docker-support commit f706523 Author: TarekS93 <[email protected]> Date: Tue Oct 22 11:19:08 2024 +0200 Update constants.ts commit 34ead80 Author: TarekS93 <[email protected]> Date: Tue Oct 22 11:18:34 2024 +0200 Update types.ts commit da29a79 Merge: 29f8797 dd4dd2c Author: Aaron Bolton <[email protected]> Date: Tue Oct 22 09:18:59 2024 +0100 Merge branch 'coleam00:main' into main commit 285a955 Author: ArulGandhi <[email protected]> Date: Tue Oct 22 09:49:21 2024 +0530 removed pixtral commit 1b1cd18 Author: ArulGandhi <[email protected]> Date: Tue Oct 22 09:47:30 2024 +0530 mistral models added more mistral models added. some tested, rest assumed to be working commit 5e8a0b0 Author: ArulGandhi <[email protected]> Date: Tue Oct 22 09:22:36 2024 +0530 add mistral models commit dd4dd2c Merge: cf76e4d 6eea1a9 Author: Cole Medin <[email protected]> Date: Mon Oct 21 18:02:25 2024 -0500 Merge pull request #8 from yunatamos/patch-1 Update README.md commit cf76e4d Merge: 50a501e 6c8616b Author: Cole Medin <[email protected]> Date: Mon Oct 21 18:01:42 2024 -0500 Merge pull request stackblitz-labs#28 from kofi-bhr/patch-1 Update README.md commit 49217f2 Author: muzafferkadir <[email protected]> Date: Tue Oct 22 01:27:29 2024 +0300 feat: added sync files to selected local folder function is created. Yarn package manager fixes, styling fixes. Sass module fix. Added Claude model for open router. commit 6c8616b Author: Kofi <[email protected]> Date: Mon Oct 21 16:33:52 2024 -0500 Update README.md docs: fix grammar in readme just cleaned up some awkward phrasing + fixed a few typos :) - kofi commit 29f8797 Author: Aaron Bolton <[email protected]> Date: Mon Oct 21 20:29:01 2024 +0100 Update github-build-push.yml commit 1799636 Author: Aaron Bolton <[email protected]> Date: Mon Oct 21 20:25:56 2024 +0100 Update github-build-push.yml commit 8150f6f Author: Aaron Bolton <[email protected]> Date: Mon Oct 21 20:20:04 2024 +0100 Update github-build-push.yml commit 21a0a07 Author: Aaron Bolton <[email protected]> Date: Mon Oct 21 20:19:16 2024 +0100 Update github-build-push.yml commit fc688ec Author: Aaron Bolton <[email protected]> Date: Mon Oct 21 20:17:59 2024 +0100 moved action commit 7424bff Author: Aaron Bolton <[email protected]> Date: Mon Oct 21 20:16:16 2024 +0100 Create github-build-push.yml commit 059933a Author: goncaloalves <[email protected]> Date: Mon Oct 21 20:14:35 2024 +0100 Added GitHub push functionality commit 0ef3096 Author: Aaron Bolton <[email protected]> Date: Mon Oct 21 20:10:08 2024 +0100 Docker Additions Added Dockerfile and docker-compose.yml, also adjusted start command to listen for all IP's and on Port 3000 commit f761509 Author: fernsdavid25 <[email protected]> Date: Mon Oct 21 19:32:57 2024 +0530 Update max_tokens in constants.ts max_tokens for llama 3.1 models must be less than or equal to 8000 but it is set to 8192. just change it to 8000 and the error is fixed. commit 5b35213 Author: Kofi <[email protected]> Date: Mon Oct 21 07:46:42 2024 -0500 Update prompts.ts commit f9021d3 Author: Kofi <[email protected]> Date: Mon Oct 21 12:34:06 2024 +0000 feat(prompt): add planning step + organize shell commands Adds structured planning phase before responses and reorganizes available shell commands by category. Planning helps catch edge cases early and shell categorization makes capabilities clearer. Main changes: - New chain-of-thought system for pre-response thinking - Grouped shell commands by function (files, sys, dev tools, misc) - Added brief cmd descriptions No breaking changes, just better organization + process. Should help reduce back-and-forth on PRs. Tested w/o cmd env :) - kofi commit 1766dd5 Author: Kofi <[email protected]> Date: Mon Oct 21 07:06:23 2024 -0500 Update README.md Fixed Readme to be up to date with prompting fixees commit 6eea1a9 Author: Yunat Amos <[email protected]> Date: Mon Oct 21 07:52:19 2024 +0300 Update README.md I have two accounts and one that commited is yunatamos commit cecbc55 Author: ♚ PH⑦ de Soria™♛ <[email protected]> Date: Fri Oct 18 01:40:09 2024 +1100 fix(readme): use correct issues url (stackblitz-labs#514) Co-authored-by: Sam Denty <[email protected]> commit 582b42e Author: Brutal Strike <[email protected]> Date: Wed Oct 16 18:05:22 2024 +0300 fix: don't always show scrollbars (stackblitz-labs#548) commit a4a722b Author: Rahul Bhardwaj <[email protected]> Date: Thu Oct 10 08:21:11 2024 +0530 Add corepack to setup pnpm commit 65629d0 Author: Rahul Bhardwaj <[email protected]> Date: Thu Oct 10 07:26:25 2024 +0530 Update Dockerfile Co-authored-by: Sleeyax <[email protected]> commit 5f62d1f Merge: 71c4398 ffa9f11 Author: Rahul Bhardwaj <[email protected]> Date: Tue Oct 8 08:39:40 2024 +0530 Merge branch 'main' into add-docker-support commit 71c4398 Merge: f90f60b cf31b59 Author: Dominic Elm <[email protected]> Date: Mon Oct 7 10:58:22 2024 +0200 Merge branch 'main' into add-docker-support commit f90f60b Author: Rahul Bhardwaj <[email protected]> Date: Sun Oct 6 22:14:54 2024 +0530 Update node version and enable host network commit 816d6d5 Author: Rahul Bhardwaj <[email protected]> Date: Sun Oct 6 19:42:49 2024 +0530 Add support for docker dev in bolt commit 6a9cb78 Author: Sam Denty <[email protected]> Date: Fri Oct 4 09:31:25 2024 +0200 fix(browser-extensions): don't render directly in body commit f6d79c5 Author: Sam Denty <[email protected]> Date: Thu Oct 3 22:15:02 2024 +0100 fix: add screen recordings section to bug_report.yml commit 6694e14 Author: Buntu Redempter <[email protected]> Date: Thu Oct 3 11:32:37 2024 -0700 Update README.md (#7) commit 537389e Author: Alexander Berger <[email protected]> Date: Thu Oct 3 10:31:08 2024 -0500 Update README.md commit aa6148f Author: Alexander Berger <[email protected]> Date: Thu Oct 3 10:13:11 2024 -0500 Update CONTRIBUTING.md commit 506ed1d Author: Alexander Berger <[email protected]> Date: Thu Oct 3 10:09:53 2024 -0500 Update CONTRIBUTING.md commit c85fd80 Author: Alexander Berger <[email protected]> Date: Thu Oct 3 09:55:04 2024 -0500 Update README.md commit 292e923 Author: Alexander Berger <[email protected]> Date: Thu Oct 3 09:53:31 2024 -0500 Rename MAIN-FOLDER-README.md to README.md commit fc82dda Author: Alexander Berger <[email protected]> Date: Thu Oct 3 09:53:07 2024 -0500 Rename README.md to CONTRIBUTING.md commit 8840d00 Author: Alexander Berger <[email protected]> Date: Thu Oct 3 09:00:31 2024 -0500 Update MAIN-FOLDER-README.md commit 9a1ab23 Author: Sam Denty <[email protected]> Date: Thu Oct 3 13:17:24 2024 +0100 fix: update links commit 14da2f0 Author: Sam Denty <[email protected]> Date: Thu Oct 3 13:15:56 2024 +0100 fix: remove duplicated bug_report template commit 5580ab9 Author: Sam Denty <[email protected]> Date: Thu Oct 3 13:13:43 2024 +0100 fix: typo commit 85d2b6f Author: Sam Denty <[email protected]> Date: Thu Oct 3 13:12:13 2024 +0100 feat: add readme image (#4) commit bf65a7e Author: Alexander Berger <[email protected]> Date: Thu Oct 3 00:33:28 2024 -0500 Update MAIN-FOLDER-README.md commit efac3a7 Author: Alexander Berger <[email protected]> Date: Thu Oct 3 00:07:55 2024 -0500 Update MAIN-FOLDER-README.md commit dbef8c1 Author: Alexander Berger <[email protected]> Date: Thu Oct 3 00:07:23 2024 -0500 Create MAIN-FOLDER-README.md commit 84c5da8 Author: Alexander Berger <[email protected]> Date: Wed Oct 2 23:34:33 2024 -0500 Update README.md commit 36f219f Author: Alexander Berger <[email protected]> Date: Wed Oct 2 23:31:56 2024 -0500 Update README.md commit 72df4b8 Author: Alexander Berger <[email protected]> Date: Wed Oct 2 23:26:22 2024 -0500 Update README.md commit 3181d50 Author: Alexander Berger <[email protected]> Date: Wed Oct 2 23:25:57 2024 -0500 Update README.md commit dfebd40 Author: Alexander Berger <[email protected]> Date: Wed Oct 2 23:24:22 2024 -0500 Update README.md commit 4cf007b Author: Sam Denty <[email protected]> Date: Thu Oct 3 05:22:16 2024 +0100 fix: update README.md (#3) Co-authored-by: apai4 <[email protected]> commit 2806a65 Author: Albert Pai <[email protected]> Date: Wed Oct 2 17:37:10 2024 -0700 Create bug_report.yml
Please post your debug logs as text since images are next to impossible to navigate and the one you posted is entirely incomplete. |
HYG some of it, it keeps giving errors. :
|
@holsamo if you scroll down to the bottom you'll see the problem is with the cloudflare workers library. Cloudflare is particularly bad about backward compatibility and if you review their OS and platform support policy, you'll see that anything less than the most modern linuc Windows and Mac OS releases are not supported. I had to move to Ubuntu 24.04 LTS in order to get it operating properly. It's not entirely clear to me why this dependency still exists other than the fact that this is where stack blitz is hosting their paid service, unless stack blitz is trying to lock people into using their platform and at some point thinks they're going to start charging people for a service that is embedded in an otherwise open source release. For this reason the platform needs to migrate entirely away from stack blitz and move to webvm but that's down the road for the moment. |
I said this all along. Why would a paid service embrace a free one that is a direct competitor? To trash it. On 30 Dec 2024 23:22, hillct ***@***.***> wrote:
@holsamo if you scroll down to the bottom you'll see the problem is with the cloudflare workers library. Cloudflare is particularly bad about backward compatibility and if you review their OS and platform support policy, you'll see that anything less than the most modern linuc Windows and Mac OS releases are not supported. I had to move to Ubuntu 24.04 LTS in order to get it operating properly. It's not entirely clear to me why this dependency still exists other than the fact that this is where stack blitz is hosting their paid service, unless stack blitz is trying to lock people into using their platform and at some point thinks they're going to start charging people for a service that is embedded in an otherwise open source release. For this reason the platform needs to migrate entirely away from stack blitz and move to webvm but that's down the road for the moment.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
@hillct firstly i'd love to thank you for taking time to reply, and check and reply again, highly appreciated, TBH, I'm still new to this :D /NOOB , I've Coolify installed on Ubuntu latest LTS 24.04 ~ which is still new, also tried to dockerise cloudflared tunnel and it's up. what would be the solution for the issue, please let me know. appreciate to give me options. <3 Thank you guys for your support. |
@holsamo thanks for identifying your experience level here. The first thing to recognize is that when you're submitting a ticket for an issue you are having personally, it should be submitted as a separate issue. Not a comment on an already closed and merged PR. That said, when I tested this implementation on my coolify deployment, I did not require a cloudflare tunnel, but I did have it configured to utilize a public-facing static IP address. Static is less important than public facing in this context. I'm not currently in front of a computer where I can check this and off the top of my head I'm not sure what properties are defined within the wrangler config.json file, but I'm quite sure they are deployment specific. To check these values, I encourage you to launch a console in the docker container that coolify spun up for you and view these values. |
I had same probleme because i try to install with docker compose. Try with docker file and you have to change port 3000 for me its work like this |
This enhancement of @aaronbolton's great work, adds proper separation of and support for boh development and production builds using either docker targets, or via docker-compose profiles. It now also fully suports deploymen via Coolify as well (#58)
Documentation will be added in the next few days, but for those interested in testing, there are four key invocations
With helper scripts:
npm run dockerbuild
npm run dockerbuild:prod
Docker with targets
docker build . --target bolt-ai-development
docker build . --target bolt-ai-production
Docker-compose with profiles:
docker-compose --profile development uo
docker-compose --profile production up
With either build method above, use:
docker run -p 5173:5173 --env-file .env.local bolt-ai:development
docker run -p 5173:5173 --env-file .env.local bolt-ai:production
With Coolify Deployment Framework
docker compose --profile production up
NOTE: The docker-compose.yaml file also works seamlessly with VS Code dev containers. Just select profile/target from the context menu and choose the development profile.