File size: 561 Bytes
c7ba288
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
services:
  omniroute:
    build:
      context: .
      dockerfile: Dockerfile
    image: omniroute-hf:latest
    container_name: omniroute
    restart: unless-stopped
    stop_signal: SIGTERM
    stop_grace_period: 40s
    ports:
      - "7860:7860"
    environment:
      - PORT=7860
      - DASHBOARD_PORT=7860
      - API_PORT=7860
      - HOSTNAME=0.0.0.0
      - DATA_DIR=/data
      - HF_TOKEN=${HF_TOKEN:-}
      - HF_DATASET_REPO=${HF_DATASET_REPO:-userbymahadi/OmniRoute-storage}
    volumes:
      - omniroute-data:/data

volumes:
  omniroute-data: