Initial commit: Unsloth Studio for unsloth.kzbrd.ru

This commit is contained in:
nkozobrod
2026-07-12 19:33:02 +00:00
commit 4280f905f5
3 changed files with 46 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
JUPYTER_PASSWORD=changeme
USER_PASSWORD=changeme
+5
View File
@@ -0,0 +1,5 @@
.env
work/
*.log
.DS_Store
Thumbs.db
+39
View File
@@ -0,0 +1,39 @@
name: unsloth
services:
unsloth:
image: unsloth/unsloth:latest
container_name: unsloth
restart: unless-stopped
runtime: nvidia
environment:
- JUPYTER_PASSWORD=${JUPYTER_PASSWORD}
- USER_PASSWORD=${USER_PASSWORD}
- JUPYTER_PORT=8888
- NVIDIA_VISIBLE_DEVICES=all
ports:
- "8888:8888"
volumes:
- ./work:/workspace/work
- unsloth-cache:/home/unsloth/.cache
networks:
- traefik_proxy
- default
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik_proxy"
- "traefik.http.routers.unsloth.rule=Host(`unsloth.kzbrd.ru`)"
- "traefik.http.routers.unsloth.entrypoints=websecure"
- "traefik.http.routers.unsloth.tls=true"
- "traefik.http.routers.unsloth.tls.certresolver=myresolver"
- "traefik.http.services.unsloth.loadbalancer.server.port=8000"
- "com.centurylinklabs.watchtower.enable=true"
networks:
traefik_proxy:
external: true
default:
driver: bridge
volumes:
unsloth-cache: