mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-03 16:51:24 -07:00
Handle more edge cases; more clear warnings
This commit is contained in:
@@ -14,6 +14,8 @@ services:
|
||||
- ALL
|
||||
cap_add:
|
||||
- CHOWN
|
||||
- SETGID
|
||||
- SETUID
|
||||
- NET_ADMIN
|
||||
- NET_RAW
|
||||
- NET_BIND_SERVICE
|
||||
@@ -31,12 +33,31 @@ services:
|
||||
source: test_netalertx_data
|
||||
target: /data
|
||||
read_only: false
|
||||
- type: tmpfs
|
||||
target: /tmp/log
|
||||
tmpfs:
|
||||
size: 64m
|
||||
mode: 1777
|
||||
options: noexec,nosuid,nodev,async,noatime,nodiratime
|
||||
- type: tmpfs
|
||||
target: /tmp/api
|
||||
tmpfs:
|
||||
size: 64m
|
||||
mode: 1777
|
||||
options: noexec,nosuid,nodev,async,noatime,nodiratime
|
||||
- type: tmpfs
|
||||
target: /tmp/run
|
||||
tmpfs:
|
||||
size: 64m
|
||||
mode: 1777
|
||||
options: noexec,nosuid,nodev,async,noatime,nodiratime
|
||||
- type: volume
|
||||
source: test_system_services_active_config
|
||||
target: /tmp/nginx/active-config
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- "/tmp:mode=1700,rw,noexec,nosuid,nodev,async,noatime,nodiratime"
|
||||
# Ensure /tmp is a writable tmpfs for the app user; mode 1777 to support su-exec drop.
|
||||
- /tmp:uid=20211,gid=20211,mode=1777,noexec,nosuid,nodev,size=64m
|
||||
volumes:
|
||||
test_netalertx_data:
|
||||
test_system_services_active_config:
|
||||
Reference in New Issue
Block a user