Skip to content

Commit f6fdd70

Browse files
committed
fixup! fix(systemd): 给控制面服务添加 CAP_NET_ADMIN + CAP_SYS_ADMIN capabilities
1 parent 3de3d6a commit f6fdd70

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ services:
3434
CLOUD_CLI_PROXY_GATEWAY_IMAGE: ghcr.io/zanel1u/cloud-cli-proxy/sing-box-gateway:latest
3535
ports:
3636
- "${SSH_PROXY_PORT:-2222}:2222"
37+
cap_add:
38+
- NET_ADMIN
39+
- SYS_ADMIN
3740
volumes:
3841
- /var/run/docker.sock:/var/run/docker.sock
3942
- /var/lib/cloud-cli-proxy:/var/lib/cloud-cli-proxy

0 commit comments

Comments
 (0)