Skip to content

Commit

Permalink
update: change nas config
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxie-crypto committed Dec 21, 2023
1 parent 829640f commit 6179508
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ vars:
name: '{{ serviceName }}'
description: '将开源模型部署到函数计算'
{{ if roleArn !== '' && roleArn !== undefined }}role: "{{roleArn}}"{{/if}}
nasConfig: auto
# nasConfig: auto
# logConfig: auto
# vpcConfig: auto
nasConfig: # NAS配置, 配置后function可以访问指定NAS
userId: 10003 # userID, 默认为10003
groupId: 10003 # groupID, 默认为10003
mountPoints: # 目录配置
- serverAddr: '{{ mountPointsServerAddr }}'
nasDir: /fc-deploy-service # NAS目录
fcDir: /mnt/auto # 函数计算目录
vpcConfig:
vpcId: '{{ vpcId }}'
securityGroupId: '{{ securityGroupId }}'
Expand Down

0 comments on commit 6179508

Please sign in to comment.