Skip to content

Commit

Permalink
Update NVIDIA Docker Compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Commandcracker committed Jul 5, 2024
1 parent 86472be commit 47131ca
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/guides/client/cli-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/guides/client/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 4 additions & 6 deletions docs/guides/server/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,31 @@ 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
restart: always
hostname: youcube
ports:
- 5000:5000
...
```

### NVIDIA

!!! 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
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 47131ca

Please sign in to comment.