Persist db

This commit is contained in:
kjwon15 2018-12-27 18:48:40 +09:00
parent a87c6c8220
commit b97720cbd7
2 changed files with 10 additions and 1 deletions

View file

@ -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"

View file

@ -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