fix(docker-compose): simplify device mounts, remove redundant volumes
Ampel / ampel (push) Failing after 29s
Ampel / ampel (push) Failing after 29s
- Remove cdrom/dvd anonymous volumes (not needed with direct mounts) - Remove redundant devices/cap_add (mounts are sufficient)
This commit is contained in:
@@ -51,7 +51,6 @@ services:
|
||||
- temp:/app/temp
|
||||
- disc:/dev/disc
|
||||
- /dev/cdrom:/dev/cdrom:ro
|
||||
- /dev/dvd:/dev/dvd:ro
|
||||
- /dev/sr0:/dev/sr0:ro
|
||||
networks:
|
||||
- rippy-net
|
||||
@@ -64,12 +63,6 @@ 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:
|
||||
@@ -122,7 +115,5 @@ volumes:
|
||||
media:
|
||||
temp:
|
||||
disc:
|
||||
cdrom:
|
||||
dvd:
|
||||
postgres-data:
|
||||
redis-data:
|
||||
|
||||
Reference in New Issue
Block a user