Skip to content

Commit

Permalink
Additional hardening for Docker-Compose (#734)
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyTran732 committed Mar 28, 2023
1 parent 23f4c61 commit 78cb405
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:

0 comments on commit 78cb405

Please sign in to comment.