port 3000 to 8080
This commit is contained in:
@@ -13,6 +13,8 @@ services:
|
||||
depends_on:
|
||||
- ollama
|
||||
- ollama-webui
|
||||
networks:
|
||||
- ollama-docker
|
||||
|
||||
ollama:
|
||||
volumes:
|
||||
@@ -24,6 +26,8 @@ services:
|
||||
image: ollama/ollama:latest
|
||||
ports:
|
||||
- 11434:11434
|
||||
networks:
|
||||
- ollama-docker
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
@@ -40,9 +44,15 @@ services:
|
||||
depends_on:
|
||||
- ollama
|
||||
ports:
|
||||
- 3000:8080
|
||||
- 8080:8080
|
||||
environment:
|
||||
- '/ollama/api=http://ollama:11434/api'
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
restart: unless-stopped
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- ollama-docker
|
||||
|
||||
networks:
|
||||
ollama-docker:
|
||||
external: false
|
||||
@@ -11,7 +11,7 @@ services:
|
||||
restart: always
|
||||
depends_on:
|
||||
- ollama
|
||||
- llama-webui
|
||||
- ollama-webui
|
||||
networks:
|
||||
- ollama-docker
|
||||
|
||||
@@ -29,7 +29,7 @@ services:
|
||||
networks:
|
||||
- ollama-docker
|
||||
|
||||
llama-webui:
|
||||
ollama-webui:
|
||||
image: ghcr.io/ollama-webui/ollama-webui:main
|
||||
container_name: ollama-webui
|
||||
volumes:
|
||||
@@ -37,7 +37,7 @@ services:
|
||||
depends_on:
|
||||
- ollama
|
||||
ports:
|
||||
- 3000:8080
|
||||
- 8080:8080
|
||||
environment:
|
||||
- '/ollama/api=http://ollama:11434/api'
|
||||
extra_hosts:
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<h2 class="text-4xl lg:text-5xl font-semibold mb-4">Simplify Your Development with Ollama Docker</h2>
|
||||
<p class="text-lg lg:text-xl text-gray-300 leading-7 mb-8">Streamline your Ollama deployments using Docker Compose. Dive into a containerized environment designed for simplicity and efficiency.</p>
|
||||
<div class="space-x-4">
|
||||
<a href="http://localhost:3000" class="bg-blue-500 text-white px-8 py-3 rounded-full hover:bg-blue-700 transition duration-300">Ollama Web UI</a>
|
||||
<a href="http://localhost:8080" class="bg-blue-500 text-white px-8 py-3 rounded-full hover:bg-blue-700 transition duration-300">Ollama Web UI</a>
|
||||
<a href="http://localhost:11434" class="bg-green-500 text-white px-8 py-3 rounded-full hover:bg-green-700 transition duration-300">Ollama</a>
|
||||
<a href="http://localhost:8000" class="bg-red-500 text-white px-8 py-3 rounded-full hover:bg-red-700 transition duration-300">App Container</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user