Skip to content

DATA_DIR doesn't contain anything -- resulting data loss #917

Answered by MohamedBassem
Madgvox asked this question in Q&A
Discussion options

You must be logged in to vote

I can see how the documentation can be misleading, I'll fix that, sorry for the hassle.

What you want to do is:

Revert back DATA_DIR to be '/data' and change the line that says:

data:/data

to be

/Users/Madgvox/.hoarder/data:/data

Once you do that and do docker compose up, you should see the db.db appear

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@MohamedBassem
Comment options

@Madgvox
Comment options

@Madgvox
Comment options

@MohamedBassem
Comment options

Answer selected by Madgvox
@Madgvox
Comment options

Comment options

You must be logged in to vote
1 reply
@NeoMod
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants