Skip to content
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

No way to specify REBUILD=false #10

Open
ohthehugemanatee opened this issue Jun 13, 2023 · 2 comments
Open

No way to specify REBUILD=false #10

ohthehugemanatee opened this issue Jun 13, 2023 · 2 comments

Comments

@ohthehugemanatee
Copy link

the local-ai entrypoint.sh rebuilds on every launch unless $REBUILD=="false" .

It's likely that on first run we want to rebuild... but every time the container initializes in a k8s context where restarts are frequent?

I can understand that as the default for the standalone container, but it doesn't make sense in k8s. Suggest adding REBUILD to the env vars in the chart so it can be overridden.

@raymondpau
Copy link

You can.
Add it as a environment variables under deployment in your custom values.yaml

deployment:
image: quay.io/go-skynet/local-ai:latest
env:
REBUILD: false

@jamiemoller
Copy link
Contributor

can this issue be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants