init: 数字员工平台初始代码
包含前端(Vue3 + VueFlow 画布)、后端(Go)、文档体系。 - 工作台画布:节点拖放、连线模式、右键菜单、AI 助手 - 后端:连接器 API、专员种子数据 - 导航:左侧导航、工坊、市场、控制台
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
[Unit]
|
||||
Description=eaisalestrain 博昇内部培训平台后端
|
||||
After=network.target
|
||||
Wants=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=eaisalestrain
|
||||
Group=eaisalestrain
|
||||
WorkingDirectory=/opt/eaisalestrain
|
||||
EnvironmentFile=-/opt/eaisalestrain/.env
|
||||
ExecStart=/opt/eaisalestrain/eaisalestrain-server
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
# 交付专用设备:最小权限 + 只读加固
|
||||
NoNewPrivileges=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ReadWritePaths=/opt/eaisalestrain/data
|
||||
PrivateTmp=true
|
||||
PrivateDevices=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectKernelModules=true
|
||||
ProtectControlGroups=true
|
||||
RestrictSUIDSGID=true
|
||||
|
||||
# 端口占用到 8080 后自动释放,方便运维
|
||||
KillMode=mixed
|
||||
TimeoutStopSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user