Permalink
Browse files

Apache webtools config

  • Loading branch information...
1 parent 3eaa600 commit 3ca72ab0c787f7a98141336deb344abbf8680217 @karlbright karlbright committed Oct 19, 2012
Showing with 59 additions and 4 deletions.
  1. +5 −4 config/deploy.rb
  2. +53 −0 config/rubber/instance-production.yml
  3. +1 −0 config/rubber/rubber.yml
View
@@ -11,13 +11,14 @@
# Use a simple directory tree copy here to make demo easier.
# You probably want to use your own repository for a real app
-set :scm, :none
-set :repository, "."
-set :deploy_via, :copy
+set :ssh_options, { :forward_agent => true }
+set :scm, :git
+set :repository, "git@github.com:Whatlock/doyle.git"
+set :deploy_via, :remote_cache
# Easier to do system level config as root - probably should do it through
# sudo in the future. We use ssh keys for access, so no passwd needed
-set :user, 'root'
+set :user, 'ubuntu'
set :password, nil
# Use sudo with user rails for cap deploy:[stop|start|restart]
@@ -0,0 +1,53 @@
+---
+- !ruby/object:Rubber::Configuration::InstanceItem
+ name: doyle
+ domain: iswhatcddown.com
+ roles:
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: apache
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: common
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: monit
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: db
+ options:
+ primary: true
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: postgresql
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: postgresql_master
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: passenger
+ options: {}
+ - !ruby/object:Rubber::Configuration::RoleItem
+ name: web_tools
+ options: {}
+ instance_id: i-4fac4133
+ image_type: t1.micro
+ image_id: ami-3d4ff254
+ security_groups:
+ - default
+ - doyle
+ - apache
+ - common
+ - monit
+ - db
+ - postgresql
+ - postgresql_master
+ - passenger
+ - web_tools
+ external_host: ec2-184-73-90-49.compute-1.amazonaws.com
+ external_ip: 184.73.90.49
+ internal_host: domU-12-31-39-0F-D4-73.compute-1.internal
+ internal_ip: 10.193.215.129
+ zone: us-east-1a
+ platform: linux
+ root_device_type: ebs
+- volumes: {}
+ static_ips: {}
View
@@ -3,6 +3,7 @@ app_user: app
admin_email: "karl@karlbright.org"
web_tools_user: admin
web_tools_password: captainDoyl3
+web_tools_port: 8001
timezone: Australia/Perth
domain: iswhatcddown.com
rubber_secret: "#{File.expand_path('~') + '/.ec2' + (Rubber.env == 'production' ? '' : '_dev') + '/rubber-secret.yml' rescue ''}"

0 comments on commit 3ca72ab

Please sign in to comment.