-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappspec-main.yml
42 lines (36 loc) · 941 Bytes
/
appspec-main.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
version: 0.0
os: linux
files:
- source: /
destination: /home/ubuntu/app
permissions:
- object: /
pattern: "**"
owner: ubuntu
group: ubuntu
hooks:
ApplicationStop:
- location: scripts/application_stop/stop_application.sh
timeout: 60
runas: ubuntu
BeforeInstall:
- location: scripts/before_install/install_python_dependencies.sh
timeout: 300
runas: ubuntu
- location: scripts/before_install/install_mongodb.sh
timeout: 300
runas: root
- location: scripts/before_install/set_environment_variables_main.sh
timeout: 60
runas: ubuntu
AfterInstall:
- location: scripts/after_install/install_packages.sh
timeout: 300
runas: ubuntu
- location: scripts/after_install/install_aws_cli.sh
timeout: 120
runas: ubuntu
ApplicationStart:
- location: scripts/application_start/deploy.sh
timeout: 60
runas: ubuntu