parent
f2f8891649
commit
9bd198ebea
|
|
@ -0,0 +1,35 @@
|
||||||
|
services:
|
||||||
|
|
||||||
|
codeproject-ai:
|
||||||
|
container_name: codeproject-ai
|
||||||
|
|
||||||
|
image: codeproject/ai-server:cuda12
|
||||||
|
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
runtime: nvidia
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- "32168:32168"
|
||||||
|
|
||||||
|
environment:
|
||||||
|
TZ: Europe/Zurich
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
# Konfiguration
|
||||||
|
- /opt/ai-server/config:/etc/codeproject/ai
|
||||||
|
|
||||||
|
# Modelle / heruntergeladene AI Module
|
||||||
|
- /opt/ai-server/modules:/app/modules
|
||||||
|
|
||||||
|
# Persistente Daten / Logs / Temp
|
||||||
|
- /opt/ai-server/data:/app/data
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
reservations:
|
||||||
|
devices:
|
||||||
|
- driver: nvidia
|
||||||
|
count: all
|
||||||
|
capabilities:
|
||||||
|
- gpu
|
||||||
Loading…
Reference in New Issue