From badd2f00cf9b22ff55e46a6269a01ec48bd6e9d2 Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Mon, 30 Jan 2012 15:10:46 -0700
Subject: [PATCH] configuration for aws deployments

---
 config/aws.json   | 41 +++++++++++++++++++++++++++++++++++++++++
 config/local.json | 14 +++++---------
 2 files changed, 46 insertions(+), 9 deletions(-)
 create mode 100644 config/aws.json

diff --git a/config/aws.json b/config/aws.json
new file mode 100644
index 000000000..edebd36f2
--- /dev/null
+++ b/config/aws.json
@@ -0,0 +1,41 @@
+{
+  "env": "production",
+  "bind_to": {
+    "host": "127.0.0.1"
+  },
+  "use_minified_resources": true,
+  "database": {
+    "driver": "mysql",
+    "user": "browserid",
+    "name": "browserid",
+    "create_schema": true
+  },
+  "statsd": {
+    "enabled": false
+  },
+  "bcrypt_work_factor": 12,
+  "max_compute_processes": null,
+  "max_compute_duration": 10,
+  "disable_primary_support": false,
+  "enable_code_version": false,
+  "default_lang": [
+    "en-US"
+  ],
+  "locale_directory": "/home/app/code/locale",
+  "express_log_format": "default",
+  "email_to_console": false,
+  "var_path": "/home/app/var",
+
+  "verifier": { "bind_to": { "port": 10000 } },
+  "verifier_url": "http://127.0.0.1:10000",
+  "keysigner": { "bind_to": { "port": 10003 } },
+  "keysigner_url": "http://127.0.0.1:10003",
+  "dbwriter": { "bind_to": { "port": 10004 } },
+  "dbwriter_url": "http://127.0.0.1:10004",
+  "proxy": { "bind_to": { "port": 10006 } },
+  "http_proxy": {
+    "host": "127.0.0.1",
+    "port": 10006
+  },
+  "browserid": { "bind_to": { "port": 8080 } }
+}
diff --git a/config/local.json b/config/local.json
index 82aefccb4..d8726dfff 100644
--- a/config/local.json
+++ b/config/local.json
@@ -1,13 +1,9 @@
 {
-  "verifier": { "bind_to": { "port": 10000 } }, 
-  "keysigner": { "bind_to": { "port": 10003 } }, 
-  "dbwriter": { "bind_to": { "port": 10004 } }, 
-  "proxy": { "bind_to": { "port": 10006 } }, 
-  "browserid": {
-    "bind_to": {
-      "port": 10002
-    }
-  },
+  "verifier": { "bind_to": { "port": 10000 } },
+  "keysigner": { "bind_to": { "port": 10003 } },
+  "dbwriter": { "bind_to": { "port": 10004 } },
+  "proxy": { "bind_to": { "port": 10006 } },
+  "browserid": { "bind_to": { "port": 10002 } },
   "use_minified_resources": false,
   "database": {
     "driver": "json"
-- 
GitLab