Create a new stack with the following compose file. If you have no B-Tocs Container Service Farm visit the (german) Youtube Channel for Step-by-Step Installation Guide.
version: "3"
networks:
default:
internal: true
intern:
external: true
extern:
external: true
volumes:
ollama_def_data:
services:
ollama_default:
image: ollama/ollama
networks:
- intern
- extern
expose:
- "11434"
volumes:
- ollama_def_data:/root/.ollama