fix docker-compose cmds

This commit is contained in:
nihilist 2025-04-21 16:03:12 +02:00
parent a0735a8b54
commit f16026e8a1

View file

@ -332,7 +332,7 @@ If you want to expose Open WebUI via Tor to access it remotely, you should have
<div class="col-lg-8 col-lg-offset-2"> <div class="col-lg-8 col-lg-offset-2">
<h2><b>Docker Setup</b></h2> <h2><b>Docker Setup</b></h2>
<p>Install Docker from Debian repositories using apt. After installation, add your user to the docker group:</p> <p>Install Docker from Debian repositories using apt. After installation, add your user to the docker group:</p>
<pre><code class="nim">oxeo@andromeda:~$ sudo apt install docker.io <pre><code class="nim">oxeo@andromeda:~$ sudo apt install docker.io docker-compose
oxeo@andromeda:~$ sudo /sbin/usermod -aG docker oxeo oxeo@andromeda:~$ sudo /sbin/usermod -aG docker oxeo
oxeo@andromeda:~$ sudo systemctl enable docker oxeo@andromeda:~$ sudo systemctl enable docker
</code></pre> </code></pre>
@ -508,7 +508,7 @@ volumes:
</code></pre> </code></pre>
<p>To start the stack:</p> <p>To start the stack:</p>
<pre><code class="nim">oxeo@andromeda:~$ cd ~/openwebui-stack <pre><code class="nim">oxeo@andromeda:~$ cd ~/openwebui-stack
oxeo@andromeda:~/openwebui-stack$ docker compose up -d oxeo@andromeda:~/openwebui-stack$ docker-compose up -d
</code></pre> </code></pre>
</div> </div>
</div><!-- /row --> </div><!-- /row -->
@ -1277,7 +1277,7 @@ Only output the translation, nothing else.</code></pre>
<ul> <ul>
<li>Ensure the NVIDIA driver is correctly installed and accessible within Docker.</li> <li>Ensure the NVIDIA driver is correctly installed and accessible within Docker.</li>
<li>Verify GPU resources are allocated by running <b>docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi</b>.</li> <li>Verify GPU resources are allocated by running <b>docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi</b>.</li>
<li>Check logs with <b>docker compose logs -f</b> for any error messages.</li> <li>Check logs with <b>docker-compose logs -f</b> for any error messages.</li>
</ul> </ul>
</p> </p>
</div> </div>
@ -1371,7 +1371,7 @@ The <b>host.docker.internal</b> domain is resolved from within the container to
<p> <p>
Once that's done, we can restart the container and go to Open WebUI GUI administrator settings once again. Once that's done, we can restart the container and go to Open WebUI GUI administrator settings once again.
<pre><code class="nim">oxeo@andromeda:~$ docker compose down; docker compose up -d</code></pre> <pre><code class="nim">oxeo@andromeda:~$ docker-compose down; docker-compose up -d</code></pre>
</p> </p>
<img src="44.png" class="imgRz"> <img src="44.png" class="imgRz">