diff --git a/app.json b/app.json index c9a9b8a..087b641 100644 --- a/app.json +++ b/app.json @@ -1,4 +1,13 @@ { + "dokku": { + "volumes": [ + { + "host": "/var/lib/dokku/data/storage/$APP/files", + "app": "/app/files", + "phases": "deploy,run" + } + ] + }, "scripts": { "dokku": { "predeploy": "./bin/pre-deploy" diff --git a/bin/pre-deploy b/bin/pre-deploy index af4c04c..9ac6ba8 100755 --- a/bin/pre-deploy +++ b/bin/pre-deploy @@ -3,7 +3,7 @@ cat << EOF > relay.yaml # this is the path that the object graph will get dumped to (in JSON-LD format), # you probably shouldn't change it, but you can if you want. -db: relay.jsonld +db: files/relay.jsonld # Listener listen: 0.0.0.0