Devcontainer setup

This commit is contained in:
2025-07-11 18:58:57 -03:00
parent f94ae9c31a
commit 19c25908da
8 changed files with 359 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
services:
youtube-classifier:
build:
context: .
dockerfile: Dockerfile
volumes:
- ../:/workspace:cached
ports:
- "6080:6080"
environment:
- DISPLAY=:1
- OLLAMA_HOST=http://ollama:11434
depends_on:
- ollama
stdin_open: true
tty: true
command: sleep infinity
ollama:
image: ollama/ollama:latest
volumes:
- ollama-data:/root/.ollama
ports:
- "11434:11434"
environment:
- OLLAMA_HOST=0.0.0.0
restart: unless-stopped
volumes:
ollama-data: