File size: 589 Bytes
693c502
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: '3.8'

# 1-Click OpenAI-Compatible API Server using llama.cpp
# Endpoint: http://localhost:8080/v1/chat/completions
services:
  slm-api:
    image: ghcr.io/ggerganov/llama.cpp:server
    container_name: sortmark-dataaudit-0.5b-api
    restart: unless-stopped
    ports:
      - "8080:8080"
    volumes:
      - ./:/models
    command:
      - "-m"
      - "/models/SORTMARK-DataAudit-0.5B-Q4_K_M.gguf"
      - "-c"
      - "2048"
      - "--host"
      - "0.0.0.0"
      - "--port"
      - "8080"
      - "--temp"
      - "0.2"
      - "-np"
      - "2"