Compare commits

..

2 Commits

Author SHA1 Message Date
Brian Fertig 01e0c5bd8d Updated Readme 2025-07-01 19:43:29 -06:00
Brian Fertig 5e6769c783 Updated Docker Compose for GPU 2025-07-01 19:40:35 -06:00
2 changed files with 11 additions and 2 deletions

View File

@ -23,8 +23,9 @@ git clone https://git.brianfertig.com/brianfertig/LocalAIChat.git LocalAIChat
2. Edit ```.env``` file to contain your ultimate secret passwords 2. Edit ```.env``` file to contain your ultimate secret passwords
3. Copy ```config/mcpo/sample.config.json``` to ```config/mcpo/config.json``` 3. Copy ```config/mcpo/sample.config.json``` to ```config/mcpo/config.json```
4. Note -- there is no need to edit the config.json file right away 4. Note -- there is no need to edit the config.json file right away
5. From the root directory (of this repo) run ```docker compose up -d``` 5. If you have an NVidia GPU, open ```docker-compose.yml``` and uncomment the lines from the Ollama container
6. If you experience any errors, run it again until it stands completely up 6. From the root directory (of this repo) run ```docker compose up -d```
7. If you experience any errors, run it again until it stands completely up
## Next Steps ## Next Steps

View File

@ -3,6 +3,14 @@ services:
volumes: volumes:
- ./files/ollama:/root/.ollama - ./files/ollama:/root/.ollama
container_name: ollama container_name: ollama
#UNCOMMENT THESE LINES IF YOU HAVE AN NVIDIA GPU
#deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]
pull_policy: always pull_policy: always
tty: true tty: true
restart: unless-stopped restart: unless-stopped