Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What is the most simple docker-compose.yml needed to get this running? (No I don’t want to run that command they show I want to use docker compose and am not an expert yet) - thanks


You can use https://www.composerize.com/ to see what a `docker run` command would look like as a docker-compose file


Wow I didn’t know! Thanks


  version: '3'
  
  services:
    ollama:
      image: ollama/ollama
      container_name: ollama
      ports:
        - "11434:11434"
      volumes:
        - ollama-volume:/root/.ollama


Perfect thank you




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: