Skip to content

pwpush-ephemeral: How to Add Persistence? #448

Answered by pglombardo
tschloss asked this question in Q&A
Discussion options

You must be logged in to vote

There are a couple reasons:

1.pwpush-ephemeral was intended to throw up a quick instance, share some passwords and then delete all existence that it ever existed
2. sqlite3 doesn't support concurrency so more than 1 user on the same record and errors start happening. It would be problematic for me to support that officially.

But not all hope is lost. If you don't want to run the Postgres or Mysql flavors, you can make the ephemeral version persist data by providing a Docker bind mount for the sqlite3 file.

For the pwpush-ephemeral container, the path to the sqlite3 file is /opt/PasswordPusher/db/db.sqlite3.

You can't overlay that whole directory because there are other bits in there but y…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@tschloss
Comment options

@jonnjonzzn
Comment options

@pglombardo
Comment options

Answer selected by pglombardo
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Resolved The issue, question or bug has been resolved.
3 participants