【发布时间】:2015-04-03 21:43:43
【问题描述】:
我正在使用 CodeDeploy AWS 部署系统通过 Codeship 部署 Node.js 应用程序。
我正在使用 appspec.yml 文件来设置已部署目录之一的所有者和权限。
我想允许读取/写入任何将在部署的指定文件夹中创建的文件。 Web 应用程序开始运行后将创建文件。
目前我的 appspec.yml 包含以下内容:
version: 0.0
os: linux
files:
- source: /
destination: /var/www/APPLICATION_NAME
permissions:
- object: /var/www/APPLICATION_NAME/tmpfiles
mode: 644
owner: ec2-user
type:
- directory
【问题讨论】:
标签: amazon-web-services yaml continuous-deployment codeship aws-code-deploy