Skip to content

Commit

Permalink
appspec 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandokkang committed Apr 7, 2024
1 parent a4055ab commit f2f811e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions appspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 0.0
os: linux

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

permissions:
- object: /
pattern: "**"
owner: ec2-user
group: ec2-user

hooks:
AfterInstall:
- location: scripts/stop.sh
timeout: 60

ApplicationStart:
- location: scripts/start.sh
timeout: 60
runas: ec2-user

0 comments on commit f2f811e

Please sign in to comment.