Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Commit

Permalink
Production version
Browse files Browse the repository at this point in the history
  • Loading branch information
ggoodman committed Sep 13, 2015
1 parent 6d8f60e commit d1b5bc1
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 5 deletions.
19 changes: 19 additions & 0 deletions .dockerignore
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,19 @@
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz

pids
logs
results

.git
node_modules

npm-debug.log

.c9revisions
2 changes: 1 addition & 1 deletion app.coffee
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ app.post "/plunks/:id/comments", comments.create
app.get "/comments/:id", comments.read app.get "/comments/:id", comments.read
app.post "/comments/:id", comments.update app.post "/comments/:id", comments.update
app.del "/comments/:id", comments.destroy 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 # Catalogue
Expand Down
15 changes: 12 additions & 3 deletions app.yaml
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,15 @@
runtime: custom runtime: nodejs
vm: true vm: true
api_version: 1 api_version: 1


manual_scaling: automatic_scaling:
instances: 1 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
2 changes: 1 addition & 1 deletion package.json
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"lru-cache": "~2.5.0", "lru-cache": "~2.5.0",
"memoize": "~0.1.1", "memoize": "~0.1.1",
"mime": "~1.2.9", "mime": "~1.2.9",
"mongoose": "^3.8.25", "mongoose": "^4.1.6",
"morgan": "^1.2.2", "morgan": "^1.2.2",
"nconf": "~0.6.7", "nconf": "~0.6.7",
"request": "~2.16.6", "request": "~2.16.6",
Expand Down

0 comments on commit d1b5bc1

Please sign in to comment.