mirror of https://github.com/spikecodes/libreddit
Use seccomp with docker-compose
This commit is contained in:
parent
248fce4dd9
commit
1e61ec699a
|
@ -7,6 +7,8 @@ services:
|
||||||
container_name: "libreddit"
|
container_name: "libreddit"
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
|
security_opt:
|
||||||
|
- seccomp="seccomp-libreddit.json"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
|
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
|
||||||
interval: 5m
|
interval: 5m
|
||||||
|
|
Loading…
Reference in New Issue