forked from nameLim/contap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appspec.yml
37 lines (34 loc) · 708 Bytes
/
appspec.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: 0.0
os: linux
files:
- source: /
destination: /home/ubuntu/contap
overwrite: yes
permissions:
- object: /home/ubuntu/contap/
owner: ubuntu
group: ubuntu
mode: 755
#permissions:
# - object: /
# pattern: "**"
# owner: ubuntu
# group: ubuntu
# mode: 755
hooks:
AfterInstall:
# location은 프로젝트의 root경로를 기준
- location: deploy.sh
timeout: 60
runas: root
#hooks:
# ApplicationStart:
# - location: scripts/run_new_was.sh
# timeout: 180
# runas: ubuntu
# - location: scripts/health_check.sh
# timeout: 180
# runas: ubuntu
# - location: scripts/switch.sh
# timeout: 180
# runas: ubuntu