mirror of
https://github.com/FranP-code/classify_saved_videos_yt.git
synced 2025-10-13 00:32:25 +00:00
33 lines
620 B
YAML
33 lines
620 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
youtube-classifier:
|
|
build: .
|
|
volumes:
|
|
- .:/workspace
|
|
- ollama-data:/home/user/.ollama
|
|
- /tmp/.X11-unix:/tmp/.X11-unix:rw
|
|
ports:
|
|
- "11434:11434"
|
|
- "6080:6080"
|
|
environment:
|
|
- DISPLAY=${DISPLAY:-:0}
|
|
- OLLAMA_HOST=0.0.0.0
|
|
privileged: true
|
|
stdin_open: true
|
|
tty: true
|
|
working_dir: /workspace
|
|
|
|
ollama-standalone:
|
|
image: ollama/ollama:latest
|
|
volumes:
|
|
- ollama-data:/root/.ollama
|
|
ports:
|
|
- "11435:11434"
|
|
environment:
|
|
- OLLAMA_HOST=0.0.0.0
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
ollama-data:
|