Skip to content

Instantly share code, notes, and snippets.

@dstrelau
Created October 10, 2011 21:16
Show Gist options
  • Save dstrelau/1276572 to your computer and use it in GitHub Desktop.
Save dstrelau/1276572 to your computer and use it in GitHub Desktop.
provider 'provider.yourcompany.com'
service :memcached do
memory 2.gigabytes
end
service :redis do
memory 4.gigabytes
end
service :mysql
database 'yourapp_production'
end
service :sphinx
service :yourcompany_custom_widget_builder
$ architect provide
<magic happens>
$ cat .env
REDIS_URL=redis-001.int.yourcompany.com:6739/1
MEMCACHED_URL=memcached-004.int.yourcompany.com:11211
DATABASE_URL=mysql://user:[email protected]:3306/yourapp_production
SPHINX_URL=sphinx-022.int.yourcompany.com:9312
WIDGET_BUILDER_URL=widget-011.int.yourcompany.com:1337
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment