/
appspec.yml
45 lines (43 loc) · 991 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
38
39
40
41
42
43
44
45
version: 0.0
os: linux
files:
- source: /
destination: /home/forge/app
permissions:
- object: /home/forge/app
owner: forge
group: www-data
mode: 775
type:
- file
- object: /home/forge/app
owner: forge
group: www-data
mode: 755
type:
- directory
hooks:
# ApplicationStop:
# - location: deployment/scripts/application_stop.sh
# timeout: 300
# runas: forge
# BeforeInstall:
# - location: deployment/scripts/before_install.sh
# timeout: 300
# runas: forge
# DownloadBundle:
# - location: deployment/scripts/download_bundle.sh
# timeout: 1200
# runas: forge
AfterInstall:
- location: deployment/scripts/after_install.sh
timeout: 300
runas: forge
# ApplicationStart:
# - location: deployment/scripts/application_start.sh
# timeout: 300
# runas: forge
# ValidateService:
# - location: deployment/scripts/validate_service.sh
# timeout: 300
# runas: forge