-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappspec.yml
38 lines (37 loc) · 890 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
version: 0.0
os: linux
files:
- source: /django_project/
destination: /home/ec2-user/django_project
- source: /static/
destination: /home/ec2-user/static
- source: /web/
destination: /home/ec2-user/web
- source: /users/
destination: /home/ec2-user/users
- source: /db.sqlite3
destination: /home/ec2-user
- source: /manage.py
destination: /home/ec2-user
- source: /supervisord.conf
destination: /home/ec2-user
- source: /requirements.txt
destination: /home/ec2-user
- source: /requirements/
destination: /home/ec2-user/requirements
permissions:
- object: /home/ec2-user/manage.py
owner: ec2-user
mode: 644
type:
- file
- object: /home/ec2-user/supervisord.conf
owner: ec2-user
mode: 644
type:
- file
hooks:
AfterInstall:
- location: scripts/install_dependencies
timeout: 900
runas: root