File size: 410 Bytes
79c7b05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
version: '3.8'

services:
  ollama:
    image: ollama/ollama:latest
    container_name: ollama
    ports:
      - "11434:11434"  # Expose the default Ollama API port
    environment:
      - OLLAMA_PORT=11434
      - OLLAMA_HOST=0.0.0.0
      - OLLAMA_MODEL=llama3.1
    restart: unless-stopped
  api:
    image: ragtag:latest
    container_name: api
    ports:
      - "8080:8080"
    restart: unless-stopped