From 47131ca9d24d4a6a8bbff6575ae9866ac0359708 Mon Sep 17 00:00:00 2001 From: Commandcracker Date: Fri, 5 Jul 2024 20:05:57 +0200 Subject: [PATCH] Update NVIDIA Docker Compose --- docs/guides/client/cli-usage.md | 2 +- docs/guides/client/installation.md | 2 +- docs/guides/server/installation.md | 10 ++++------ mkdocs.yml | 2 +- requirements.txt | 10 +++++----- 5 files changed, 12 insertions(+), 14 deletions(-) diff --git a/docs/guides/client/cli-usage.md b/docs/guides/client/cli-usage.md index 8160470..2c56171 100644 --- a/docs/guides/client/cli-usage.md +++ b/docs/guides/client/cli-usage.md @@ -29,4 +29,4 @@ Using the CLI on LevelOS can be archived by running one of the following command main.lua --help ``` -[preview]: /assets/cli.png +[preview]: ../../assets/cli.png diff --git a/docs/guides/client/installation.md b/docs/guides/client/installation.md index 02d5d6e..d126a92 100644 --- a/docs/guides/client/installation.md +++ b/docs/guides/client/installation.md @@ -45,7 +45,7 @@ hoof install youcube ``` [unicornpkg]: https://unicornpkg.madefor.cc -[preview]: /assets/levelos.png +[preview]: ../../assets/levelos.png [LevelOS]: https://discord.com/invite/vBsjGqy99U [client]: https://github.com/CC-YouCube/client [lStore Package]: https://img.shields.io/github/actions/workflow/status/CC-YouCube/client/lstore-put.yml?branch=main&label=lStore%20Package&logo=github&style=for-the-badge diff --git a/docs/guides/server/installation.md b/docs/guides/server/installation.md index 135c837..3a19605 100644 --- a/docs/guides/server/installation.md +++ b/docs/guides/server/installation.md @@ -15,7 +15,7 @@ You can also build the Image your self buy using YouCube's [Dockerfile] This is an example of using the image with docker-compose ```yaml -version: "2.0" +--- services: youcube: image: ghcr.io/cc-youcube/youcube:latest @@ -23,6 +23,7 @@ services: hostname: youcube ports: - 5000:5000 +... ``` ### NVIDIA @@ -30,18 +31,15 @@ services: !!! warning Please make sure to install the NVIDIA driver for your GPU before continuing with this installation guide. -Install the NVIDIA driver container toolkit by following [this guide](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker) by NVIDIA. +Install the NVIDIA driver container toolkit by following [this guide](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) by NVIDIA. Make sure that the YC docker image you're using has NVIDIA in the tag. Please refer to the [tag list](https://github.com/CC-YouCube/server/pkgs/container/youcube/versions?filters%5Bversion_type%5D=tagged) to discover all the available tags. #### NVIDIA Docker Compose -Add this to the above-mentioned [docker compose configuration](#docker-compose). +Add this to services -> youcube in the above-mentioned [docker compose configuration](#docker-compose). ```yaml runtime: nvidia -environment: - - NVIDIA_VISIBLE_DEVICES=all - - NVIDIA_DRIVER_CAPABILITIES=compute ``` ## Manual Installation diff --git a/mkdocs.yml b/mkdocs.yml index 5058f25..8692adc 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -94,7 +94,7 @@ markdown_extensions: alternate_style: true - attr_list: - pymdownx.emoji: - emoji_index: !!python/name:materialx.emoji.twemoji + emoji_index: !!python/name:material.extensions.emoji.twemoji emoji_generator: !!python/name:materialx.emoji.to_svg # Page tree diff --git a/requirements.txt b/requirements.txt index b2e795e..53adbbf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -mkdocs-material~=9.1.9 -mkdocs-minify-plugin~=0.6.4 -mkdocs-git-revision-date-localized-plugin~=1.2.0 -mkdocs-git-committers-plugin-2~=1.1.2 -lxml~=4.9.2 +mkdocs-material~=9.5.28 +mkdocs-minify-plugin~=0.8.0 +mkdocs-git-revision-date-localized-plugin~=1.2.6 +mkdocs-git-committers-plugin-2~=2.3.0 +lxml~=5.2.2