Skip to content

Commit

Permalink
Now really adding file
Browse files Browse the repository at this point in the history
  • Loading branch information
liorkesos committed Jun 19, 2016
1 parent eb916b0 commit 22aa260
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .platform.app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: node
type: nodejs

web:
commands:
start: "PM2_HOME=/app/run pm2 start index.js --no-daemon"
#in this setup you will find your application stdout and stderr in /app/run/logs
locations:
"/public":
passthru: false
root: "public"
# Whether to allow files not matching a rule or not.
allow: true
rules:
'\.png$':
allow: true
expires: -1
dependencies:
nodejs:
pm2: "^0.15.10"
mounts:
"/run": "shared:files/run"
disk: 512

0 comments on commit 22aa260

Please sign in to comment.