Permalink
Browse files

Node 0.6.0 required for Opa 1.0.5 + misc updates

  • Loading branch information...
1 parent ad80d66 commit e31735c37b4d2686befaa9ce706defe6f418c725 @cedricss committed Aug 16, 2012
Showing with 6 additions and 8 deletions.
  1. +5 −5 dotcloud.yml
  2. +1 −3 run
View
10 dotcloud.yml
@@ -1,9 +1,9 @@
-opa:
- type: custom
- buildscript: builder
+www:
+ type: nodejs
+ prebuild: ~/current/builder
process: ~/run
- ports:
- www: http
+ config:
+ node_version: v0.6.x
db:
type: mongodb
View
4 run
@@ -1,10 +1,8 @@
#!/bin/sh
-export NODE_PATH="${HOME}/node_modules"
MONGO_URL="${DOTCLOUD_DB_MONGODB_LOGIN}:${DOTCLOUD_DB_MONGODB_PASSWORD}@${DOTCLOUD_DB_MONGODB_HOST}:${DOTCLOUD_DB_MONGODB_PORT}"
-exec ~/app.js \
+exec ./app.js \
--logs-path /var/log/supervisor \
--db-remote "$MONGO_URL" \
- --http-port $PORT_WWW \
$@

0 comments on commit e31735c

Please sign in to comment.