Am 12.05.2008 um 22:57 schrieb [EMAIL PROTECTED]:

>
> I think what you want is:
>
> role :web, "ip_of_nginx_server"
> role :app, "ip_of_mongrel_server1", "ip_of_mongrel_server2"
> role :db, "ip_of_mongrel_server1", :primary => true
>

you mean:

role :web, "ip_of_nginx_server"
role :app, "ip_of_mongrel_server1", "ip_of_mongrel_server2"
role :db,  "ip_of_mysql_server", :primary => true

??

> web = the server that should serve the /public director
> app = the server that runs the rails application
> db = the server that runs rake db:migrate
>
> HTH,
> Nathen
>
> On May 12, 4:46 pm, Jochen Kaechelin <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> I have 4 machines, one running nginx proxing to mongrel, 2 machines
>> each of
>> them running mongrel_cluster and one machine running a MySQL  
>> database.
>>
>> So my deploy.rb looks like:
>>
>> ...
>> role :app, "ip_of_nginx_server"
>> role :web, "ip_of_mongrel_server1", "ip_of_mongrel_server2"
>> role :db,  "ip_of_mysql_server"
>> ...
>>
>> Is this correct?
>>
>> Thanx
>>
>> --
>> Jochen
> >


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to