diff --git a/site-cookbooks/sockethub/recipes/default.rb b/site-cookbooks/sockethub/recipes/default.rb index 201a803..30e8dcb 100644 --- a/site-cookbooks/sockethub/recipes/default.rb +++ b/site-cookbooks/sockethub/recipes/default.rb @@ -54,7 +54,9 @@ application path_to_deploy do app_dir: path_to_deploy, entry: "/usr/bin/node /usr/bin/npm start", environment: { 'DEBUG' => '*', - 'PORT' => node['sockethub']['port'] } + 'PORT' => node['sockethub']['port'], + # Use the second database (index starts at 0) + 'REDIS_URL' => "redis://localhost:6379/1" } ) notifies :run, "execute[systemctl daemon-reload]", :delayed notifies :restart, "service[sockethub_nodejs]", :delayed