mirror of
https://github.com/2930134478/AI-CS.git
synced 2026-06-15 00:44:30 +08:00
prod: 移除 mysql 容器的 security_opt/cap 以修复 setgid 报错
This commit is contained in:
@@ -87,14 +87,6 @@ services:
|
||||
networks:
|
||||
- ai-cs-network
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
- CHOWN
|
||||
- DAC_OVERRIDE
|
||||
- FOWNER
|
||||
|
||||
# 后端服务(使用预构建镜像)
|
||||
backend:
|
||||
|
||||
Reference in New Issue
Block a user