fix(worker): mount host devices for disc detection
Ampel / ampel (push) Failing after 30s

- Add direct device mounts (cdrom, dvd, sr0) to worker
- Add SYS_ADMIN capability for udev access
- Install isoinfo and udev in worker container
- Add pyudev for device monitoring
- Update udev rules with correct paths
This commit is contained in:
Hitonabi
2026-07-23 12:15:55 +02:00
parent 9c010d2dc5
commit 61af353559
8 changed files with 188 additions and 4 deletions
+9 -2
View File
@@ -50,8 +50,9 @@ services:
- media:/app/media
- temp:/app/temp
- disc:/dev/disc
- cdrom:/dev/cdrom
- dvd:/dev/dvd
- /dev/cdrom:/dev/cdrom:ro
- /dev/dvd:/dev/dvd:ro
- /dev/sr0:/dev/sr0:ro
networks:
- rippy-net
depends_on:
@@ -63,6 +64,12 @@ services:
- /app/tmp
- /run
- /tmp
cap_add:
- SYS_ADMIN
devices:
- /dev/sr0:/dev/sr0:r
- /dev/cdrom:/dev/cdrom:r
- /dev/dvd:/dev/dvd:r
ui:
build: