Skip to content

Commit

Permalink
docs: AWS CodeDeploy에서 실행할 appspec.yml 정의
Browse files Browse the repository at this point in the history
  • Loading branch information
inpink committed Mar 14, 2024
1 parent ddadb4a commit 5c19b89
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions appspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# appspec.yml

version: 0.0
os: linux

files:
- source: /
destination: /home/ubuntu/app
overwrite: yes

permissions:
- object: /
pattern: "**"
owner: ubuntu
group: ubuntu

hooks:
AfterInstall:
- location: scripts/stop.sh
timeout: 60
runas: ubuntu
ApplicationStart:
- location: scripts/start.sh
timeout: 60
runas: ubuntu

0 comments on commit 5c19b89

Please sign in to comment.