Permalink
Browse files

Production version

  • Loading branch information...
1 parent 6d8f60e commit d1b5bc1996e1b4df3d9bb12a558fe677ae433bd4 @ggoodman ggoodman committed Sep 13, 2015
Showing with 33 additions and 5 deletions.
  1. +19 −0 .dockerignore
  2. +1 −1 app.coffee
  3. +12 −3 app.yaml
  4. +1 −1 package.json
View
@@ -0,0 +1,19 @@
+lib-cov
+*.seed
+*.log
+*.csv
+*.dat
+*.out
+*.pid
+*.gz
+
+pids
+logs
+results
+
+.git
+node_modules
+
+npm-debug.log
+
+.c9revisions
View
@@ -206,7 +206,7 @@ app.post "/plunks/:id/comments", comments.create
app.get "/comments/:id", comments.read
app.post "/comments/:id", comments.update
app.del "/comments/:id", comments.destroy
-docker -d --tlsverify --tlscacert=~/.docker/localhost/ca.pem --tlscert=~/.docker/localhost/server-cert.pem --tlskey=~/.docker/localhost/server-key.pem -H=localhost:2376
+
###
# Catalogue
View
@@ -1,6 +1,15 @@
-runtime: custom
+runtime: nodejs
vm: true
api_version: 1
-manual_scaling:
- instances: 1
+automatic_scaling:
+ min_num_instances: 1
+ max_num_instances: 2
+ cool_down_period_sec: 60
+ cpu_utilization:
+ target_utilization: 0.5
+
+resources:
+ cpu: .5
+ memory_gb: 1.3
+ disk_size_gb: 10
View
@@ -25,7 +25,7 @@
"lru-cache": "~2.5.0",
"memoize": "~0.1.1",
"mime": "~1.2.9",
- "mongoose": "^3.8.25",
+ "mongoose": "^4.1.6",
"morgan": "^1.2.2",
"nconf": "~0.6.7",
"request": "~2.16.6",

0 comments on commit d1b5bc1

Please sign in to comment.