~修复 Docker 仅挂载 configs 时重建容器丢失内核配置的问题:补充 yamls/jsons 卷挂载

This commit is contained in:
纯白色冰淇淋
2026-08-11 14:08:53 +08:00
parent d37267bceb
commit 376197c654
2 changed files with 7 additions and 1 deletions
+4
View File
@@ -18,10 +18,14 @@ services:
# - net.ipv6.conf.all.forwarding=1
volumes:
- shellcrash_configs:/etc/ShellCrash/configs:rw
- shellcrash_yamls:/etc/ShellCrash/yamls:rw
- shellcrash_jsons:/etc/ShellCrash/jsons:rw
restart: unless-stopped
volumes:
shellcrash_configs:
shellcrash_yamls:
shellcrash_jsons:
networks:
macvlan_lan: