-
Notifications
You must be signed in to change notification settings - Fork 0
/
appspec.yml
35 lines (35 loc) · 845 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
version: 0.0
os: linux
files:
- source: /
destination: /home/ubuntu/django-ci
permissions:
- object: /home/ubuntu/django-ci
owner: ubuntu
group: ubuntu
hooks:
BeforeInstall:
- location: scripts/clean_instance.sh
timeout: 300
runas: ubuntu
AfterInstall:
- location: scripts/instance_os_dependencies.sh
timeout: 300
runas: ubuntu
- location: scripts/python_dependencies.sh
timeout: 300
runas: ubuntu
- location: scripts/gunicorn.sh
timeout: 300
runas: ubuntu
- location: scripts/nginx.sh
timeout: 300
runas: ubuntu
ApplicationStop:
- location: scripts/stop_app.sh
timeout: 300
runas: ubuntu
ApplicationStart:
- location: scripts/start_app.sh
timeout: 300
runas: ubuntu