Additional hardening for Docker-Compose (#734)

このコミットが含まれているのは:
Tommy 2023-03-28 10:20:07 -04:00 committed by GitHub
コミット 78cb405acd
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更12行の追加0行の削除

ファイルの表示

@ -17,6 +17,12 @@ services:
interval: 30s
timeout: 5s
retries: 2
user: "998:998"
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
nitter-redis:
image: redis:6-alpine
@ -30,6 +36,12 @@ services:
interval: 30s
timeout: 5s
retries: 2
user: "999:1000"
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
volumes:
nitter-redis: