Address code review feedback - fix GPU config and documentation consistency

Co-authored-by: kelinfoxy <67766943+kelinfoxy@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-11 22:56:13 +00:00
parent 4c57c58611
commit 65a77d1138
4 changed files with 15 additions and 8 deletions

View File

@@ -140,10 +140,14 @@ services:
- GRANT_SUDO=yes - GRANT_SUDO=yes
user: root user: root
command: start-notebook.sh --NotebookApp.token='${JUPYTER_TOKEN:-changeme}' command: start-notebook.sh --NotebookApp.token='${JUPYTER_TOKEN:-changeme}'
# Uncomment for GPU support (NVIDIA) # Uncomment for GPU support (NVIDIA, requires nvidia-container-toolkit)
# runtime: nvidia # runtime: nvidia
# environment: # devices:
# - /dev/nvidia0:/dev/nvidia0
# - /dev/nvidiactl:/dev/nvidiactl
# Add these to environment above:
# - NVIDIA_VISIBLE_DEVICES=all # - NVIDIA_VISIBLE_DEVICES=all
# - NVIDIA_DRIVER_CAPABILITIES=compute,utility
labels: labels:
- "homelab.category=development" - "homelab.category=development"
- "homelab.description=Jupyter Lab for data science and ML" - "homelab.description=Jupyter Lab for data science and ML"

View File

@@ -23,18 +23,21 @@ services:
- TZ=${TZ:-America/New_York} - TZ=${TZ:-America/New_York}
- PLEX_CLAIM=${PLEX_CLAIM} - PLEX_CLAIM=${PLEX_CLAIM}
- ADVERTISE_IP=http://${SERVER_IP}:32400/ - ADVERTISE_IP=http://${SERVER_IP}:32400/
# Uncomment for hardware transcoding (Intel QuickSync) # Hardware transcoding support
# Uncomment ONE of the following options:
# Option 1: Intel QuickSync (most common)
# devices: # devices:
# - /dev/dri:/dev/dri # - /dev/dri:/dev/dri
# Uncomment for NVIDIA GPU transcoding
# Option 2: NVIDIA GPU (requires nvidia-container-toolkit installed)
# runtime: nvidia
# devices: # devices:
# - /dev/nvidia0:/dev/nvidia0 # - /dev/nvidia0:/dev/nvidia0
# - /dev/nvidiactl:/dev/nvidiactl # - /dev/nvidiactl:/dev/nvidiactl
# - /dev/nvidia-modeset:/dev/nvidia-modeset # - /dev/nvidia-modeset:/dev/nvidia-modeset
# - /dev/nvidia-uvm:/dev/nvidia-uvm # - /dev/nvidia-uvm:/dev/nvidia-uvm
# - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools # - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
# Uncomment for NVIDIA GPU support (requires nvidia-container-toolkit)
# runtime: nvidia
# environment: # environment:
# - NVIDIA_VISIBLE_DEVICES=all # - NVIDIA_VISIBLE_DEVICES=all
# - NVIDIA_DRIVER_CAPABILITIES=compute,video,utility # - NVIDIA_DRIVER_CAPABILITIES=compute,video,utility

View File

@@ -53,7 +53,7 @@ Use Docker Compose for:
# docker-compose/plex.yml # docker-compose/plex.yml
services: services:
plex: plex:
image: plexinc/pms-docker:1.40.0.7775-456fbaf97 image: plexinc/pms-docker:1.40.0.7998-f68041501
container_name: plex container_name: plex
restart: unless-stopped restart: unless-stopped
networks: networks:

View File

@@ -350,7 +350,7 @@ deploy:
### Minimal setup ### Minimal setup
```bash ```bash
# 1. Clone and configure # 1. Clone and configure (replace with your repo URL if forked)
git clone https://github.com/kelinfoxy/AI-Homelab.git git clone https://github.com/kelinfoxy/AI-Homelab.git
cd AI-Homelab cd AI-Homelab
cp .env.example .env cp .env.example .env