Use seccomp with docker-compose

This commit is contained in:
mutemule 2022-02-27 15:10:47 -05:00
parent 248fce4dd9
commit 1e61ec699a
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ services:
container_name: "libreddit"
ports:
- 8080:8080
security_opt:
- seccomp="seccomp-libreddit.json"
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
interval: 5m