port 3000 to 8080
This commit is contained in:
@@ -13,6 +13,8 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- ollama
|
- ollama
|
||||||
- ollama-webui
|
- ollama-webui
|
||||||
|
networks:
|
||||||
|
- ollama-docker
|
||||||
|
|
||||||
ollama:
|
ollama:
|
||||||
volumes:
|
volumes:
|
||||||
@@ -24,6 +26,8 @@ services:
|
|||||||
image: ollama/ollama:latest
|
image: ollama/ollama:latest
|
||||||
ports:
|
ports:
|
||||||
- 11434:11434
|
- 11434:11434
|
||||||
|
networks:
|
||||||
|
- ollama-docker
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
reservations:
|
reservations:
|
||||||
@@ -40,9 +44,15 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- ollama
|
- ollama
|
||||||
ports:
|
ports:
|
||||||
- 3000:8080
|
- 8080:8080
|
||||||
environment:
|
environment:
|
||||||
- '/ollama/api=http://ollama:11434/api'
|
- '/ollama/api=http://ollama:11434/api'
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- host.docker.internal:host-gateway
|
- 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
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- ollama
|
- ollama
|
||||||
- llama-webui
|
- ollama-webui
|
||||||
networks:
|
networks:
|
||||||
- ollama-docker
|
- ollama-docker
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- ollama-docker
|
- ollama-docker
|
||||||
|
|
||||||
llama-webui:
|
ollama-webui:
|
||||||
image: ghcr.io/ollama-webui/ollama-webui:main
|
image: ghcr.io/ollama-webui/ollama-webui:main
|
||||||
container_name: ollama-webui
|
container_name: ollama-webui
|
||||||
volumes:
|
volumes:
|
||||||
@@ -37,7 +37,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- ollama
|
- ollama
|
||||||
ports:
|
ports:
|
||||||
- 3000:8080
|
- 8080:8080
|
||||||
environment:
|
environment:
|
||||||
- '/ollama/api=http://ollama:11434/api'
|
- '/ollama/api=http://ollama:11434/api'
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
<h2 class="text-4xl lg:text-5xl font-semibold mb-4">Simplify Your Development with Ollama Docker</h2>
|
<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>
|
<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">
|
<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: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>
|
<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>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user