33 lines
643 B
YAML
33 lines
643 B
YAML
services:
|
|
ai-dev:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities: [gpu]
|
|
volumes:
|
|
- ../../../:/workspace
|
|
- ~/models:/models
|
|
- ~/datasets:/data
|
|
ports:
|
|
- "8888:8888"
|
|
stdin_open: true
|
|
tty: true
|
|
command: jupyter notebook --ip=0.0.0.0 --port=8888 --no-browser --allow-root
|
|
|
|
qdrant:
|
|
image: qdrant/qdrant:v1.12.5
|
|
ports:
|
|
- "6333:6333"
|
|
- "6334:6334"
|
|
volumes:
|
|
- qdrant_data:/qdrant/storage
|
|
|
|
volumes:
|
|
qdrant_data:
|