mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-07 14:18:44 +08:00
fix(deploy): prevent application privilege gains
This commit is contained in:
@@ -17,6 +17,8 @@ services:
|
||||
NPM_CONFIG_REGISTRY: ${NPM_CONFIG_REGISTRY:-https://registry.npmmirror.com}
|
||||
container_name: sub2api-dev
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
ports:
|
||||
- "${BIND_HOST:-127.0.0.1}:${SERVER_PORT:-8080}:8080"
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user