Skip to content

Commit 2211be7

Browse files
committed
docker: improve docker-compose.yml
- remove `devices:` as they depend on the target env
1 parent 148652d commit 2211be7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ services:
1212
- pbs_lib:/var/lib/proxmox-backup
1313
tmpfs:
1414
- /run
15-
cap_add: # smartctl support
16-
- SYS_RAWIO
17-
devices:
18-
- /dev/sda
19-
- /dev/sdb
15+
cap_add:
16+
- SYS_RAWIO # smartctl support
17+
#devices: # smartctl support
18+
# - /dev/sda
19+
# - /dev/sdb
2020
restart: unless-stopped
2121
stop_signal: SIGHUP
2222

0 commit comments

Comments
 (0)