-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
42 lines (34 loc) · 820 Bytes
/
docker-compose.yaml
File metadata and controls
42 lines (34 loc) · 820 Bytes
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: '3.8'
services:
openarc:
build: .
image: openarc:latest
container_name: openarc
# GPU access
devices:
- /dev/dri:/dev/dri
# Volumes
volumes:
- ${MODEL_PATH:-./models}:/models
- openarc-config:/persist
# Ports
ports:
- "8000:8000"
# Environment variables
environment:
- OPENARC_API_KEY=${OPENARC_API_KEY:-openarc-default-key}
- OPENARC_AUTOLOAD_MODEL=${OPENARC_AUTOLOAD_MODEL:-}
# Intel GPU tuning variables
- NEOReadDebugKeys=1
- OverrideGpuAddressSpace=48
- EnableImplicitScaling=1
# Restart policy
restart: unless-stopped
# Logging
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
volumes:
openarc-config: