Update docker-compose.yml to remove duplicate 'security_opt'

Docker compose complains with "mapping key "security_opt" already defined"
This commit is contained in:
Kirk1984 2024-02-06 17:17:04 +01:00 committed by GitHub
parent 3bb5dc5f3e
commit 43d4ee50c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,12 +13,11 @@ services:
read_only: true
security_opt:
- no-new-privileges:true
- seccomp="seccomp-redlib.json"
cap_drop:
- ALL
networks:
- redlib
security_opt:
- seccomp="seccomp-redlib.json"
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
interval: 5m