mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-30 06:30:43 +00:00
Use .env variables in docker-compose
This commit is contained in:
parent
3f8d5aaeb3
commit
dbd087988f
3 changed files with 14 additions and 15 deletions
|
@ -19,8 +19,8 @@ cd llama-cli
|
|||
# copy your models to models/
|
||||
cp your-model.bin models/
|
||||
|
||||
# (optional) Edit the .env file to set the number of concurrent threads used for inference
|
||||
# echo "THREADS=14" > .env
|
||||
# (optional) Edit the .env file to set things like context size and threads
|
||||
# vim .env
|
||||
|
||||
# start with docker-compose
|
||||
docker compose up -d --build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue