File size: 367 Bytes
105b369
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from phi.docker.app.base import DockerApp, ContainerContext  # noqa: F401


class Ollama(DockerApp):
    # -*- App Name
    name: str = "ollama"

    # -*- Image Configuration
    image_name: str = "ollama/ollama"
    image_tag: str = "latest"

    # -*- App Ports
    # Open a container port if open_port=True
    open_port: bool = True
    port_number: int = 11434