Docker development profile fixes: Ollama #329
Closed
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.
Issue
Docker 'development' profile has not been working well or at all for folks running Ollama. This may also relate to using other providers via a Docker-based oTToDev instance. Here's the situation:
Setup
Docker development (with Ollama running on local machine)
pnpm run dockerbuild && docker compose --profile development up
pnpm run dockerrun
may want to be adjusted or removed; Not focused on that just for this PR however.Local development (oTToDev and Ollama running on local machine)
pnpm install && pnpm run dev
FIX
env_file
for Docker development profile is not set, this PR sets it to .env.local. We probably want to use .env for production instead of its current state of .env.local as well.pnpm run dev
, this is actually localdevelopment
profileI'd like to see if we can get some docker folks to test their environments with these changes, I know there are several solutions out there as existing Pull Requests but I feel like this one involves the least amount of future maintenance.