azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
3.66k stars 130 forks source link

[BUG]: Cosmos-Compose does not persist the runtime option #290

Closed rpschube closed 3 months ago

rpschube commented 3 months ago

What happened?

I am trying to configure Jellyfin to use my GPU for transcoding. Part of that involves specifying a runtime in my jellyfin compose file, like this for example (from Jellyfin docs):

version: '3'
services:
  jellyfin:
    image: jellyfin/jellyfin
    user: 1000:1000
    network_mode: 'host'
    volumes:
      - /path/to/config:/config
      - /path/to/cache:/cache
      - /path/to/media:/media
    runtime: nvidia

After saving though, the runtime option disappears.

What should have happened?

The runtime configuration specified is respected and used

How to reproduce the bug?

Try to specify a runtime via cosmos-compose

Relevant log output

No response

Other details

No response

System details

rpschube commented 3 months ago

Fixed via https://github.com/azukaar/Cosmos-Server/pull/299