mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-22 14:38:00 +00:00
Persist db
This commit is contained in:
parent
a87c6c8220
commit
b97720cbd7
9
app.json
9
app.json
|
@ -1,4 +1,13 @@
|
||||||
{
|
{
|
||||||
|
"dokku": {
|
||||||
|
"volumes": [
|
||||||
|
{
|
||||||
|
"host": "/var/lib/dokku/data/storage/$APP/files",
|
||||||
|
"app": "/app/files",
|
||||||
|
"phases": "deploy,run"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dokku": {
|
"dokku": {
|
||||||
"predeploy": "./bin/pre-deploy"
|
"predeploy": "./bin/pre-deploy"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
cat << EOF > relay.yaml
|
cat << EOF > relay.yaml
|
||||||
# this is the path that the object graph will get dumped to (in JSON-LD format),
|
# 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.
|
# you probably shouldn't change it, but you can if you want.
|
||||||
db: relay.jsonld
|
db: files/relay.jsonld
|
||||||
|
|
||||||
# Listener
|
# Listener
|
||||||
listen: 0.0.0.0
|
listen: 0.0.0.0
|
||||||
|
|
Loading…
Reference in a new issue