-
Notifications
You must be signed in to change notification settings - Fork 0
/
appspec.yml
34 lines (34 loc) · 1012 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
version: 0.0
os: linux
files:
- source: /config.ru
destination: /home/ec2-user/ruby-on-rails
- source: /Gemfile
destination: /home/ec2-user/ruby-on-rails
- source: /Rakefile
destination: /home/ec2-user/ruby-on-rails
- source: /README.md
destination: /home/ec2-user/ruby-on-rails
- source: /app/
destination: /home/ec2-user/ruby-on-rails/app
- source: /config/
destination: /home/ec2-user/ruby-on-rails/config
- source: /db/
destination: /home/ec2-user/ruby-on-rails/db
- source: /log/
destination: /home/ec2-user/ruby-on-rails/log
- source: /vendor/
destination: /home/ec2-user/ruby-on-rails/vendor
- source: /public/
destination: /home/ec2-user/ruby-on-rails/public
- source: /test/
destination: /home/ec2-user/ruby-on-rails/test
hooks:
AfterInstall:
- location: scripts/install_dependencies_and_start_server
timeout: 1800
runas: root
ApplicationStop:
- location: scripts/stop_server
timeout: 300
runas: root