mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions.git
synced 2025-07-02 10:36:41 +00:00
fix docker-compose cmds
This commit is contained in:
parent
a0735a8b54
commit
f16026e8a1
1 changed files with 4 additions and 4 deletions
|
@ -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">
|
||||
<h2><b>Docker Setup</b></h2>
|
||||
<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 systemctl enable docker
|
||||
</code></pre>
|
||||
|
@ -508,7 +508,7 @@ volumes:
|
|||
</code></pre>
|
||||
<p>To start the stack:</p>
|
||||
<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>
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
|
@ -1277,7 +1277,7 @@ Only output the translation, nothing else.</code></pre>
|
|||
<ul>
|
||||
<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>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>
|
||||
</p>
|
||||
</div>
|
||||
|
@ -1371,7 +1371,7 @@ The <b>host.docker.internal</b> domain is resolved from within the container to
|
|||
|
||||
<p>
|
||||
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>
|
||||
<img src="44.png" class="imgRz">
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue