feat: add support for sysctls compose key (#239)

* feat: add support for `sysctls` compose key

* lint

---------

Co-authored-by: Pasha Sviderski <me@psviderski.name>
This commit is contained in:
Andrey Viktorov
2026-01-10 15:53:56 +11:00
committed by GitHub
co-authored by Pasha Sviderski
parent 7e739dd2f0
commit 06c3fba96e
8 changed files with 49 additions and 8 deletions
+2
View File
@@ -23,6 +23,8 @@ services:
privileged: true
pull_policy: always
scale: 3
sysctls:
- net.ipv4.ip_forward=1
user: nginx:nginx
volumes:
- /etc/passwd:/host/etc/passwd:ro