docker #1

Merged
scriptos merged 3 commits from docker into main 2024-11-27 21:55:27 +00:00
3 changed files with 5 additions and 7 deletions
Showing only changes of commit 5ee7bbea20 - Show all commits

View File

@ -1,7 +1,5 @@
FROM ollama/ollama
RUN ollama pull llama3.1:8b-instruct-q5_K_M
COPY start.sh /start.sh
RUN chmod +x /start.sh

View File

@ -1,12 +1,11 @@
services:
ollama:
hostname: ollama
container_name: ollama
image: ollama/ollama
build:
context: .
dockerfile: Dockerfile.ollama
image: ollama/ollama
hostname: ollama
container_name: ollama
ports:
- "11434:11434"
@ -16,11 +15,12 @@ services:
restart: unless-stopped
matrix-chatbot:
container_name: matrix-chatbot
hostname: matrix-chatbot
image: matrix-chatbot:latest
build:
context: .
dockerfile: Dockerfile.chatbot
container_name: matrix-chatbot
hostname: matrix-chatbot
networks:
dockernet:
ipv4_address: 172.16.0.50