User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
services:snapotter [2026/05/13 12:34] – created willyservices:snapotter [2026/05/13 13:58] (current) – [Installation] willy
Line 27: Line 27:
     ports:     ports:
       - "1349:1349"       - "1349:1349"
 +    devices:
 +      - nvidia.com/gpu=all
 +    annotations:
 +      run.oci.keep_original_groups: "true" # required for GPU acceleration
     volumes:     volumes:
       - /data/snapotter:/data       - /data/snapotter:/data
Line 40: Line 44:
  
 </file> </file>
 +
 +The **devices** section is to enable GPU passtrough, see [[services:open-webui|Open WebUI and Ollama]] for more details.
 +
 After the first run, you can (and should) remove DEFAULT_USERNAME and DEFAULT_PASSWORD from the compose file. After the first run, you can (and should) remove DEFAULT_USERNAME and DEFAULT_PASSWORD from the compose file.