Restart Rocket in Docker container #4065
Replies: 2 comments 3 replies
-
If you're using a database like PostgreSQL (ie in its own container), then restarting just the vaultwarden container won't restart the database. If you're using SQLite, then that's part of the same vaultwarden binary, so there is both nothing to restart, and it by definition needs to be restarted with vaultwarden. Either way, restarting the vaultwarden container makes the most sense, and is really your only option, since the container only contains the vaultwarden binary anyway. If having the small amount (a couple seconds) of downtime for a container restart is really that huge of an issue, then extracting TLS termination to another reverse proxy which supports reloading certificates (eg |
Beta Was this translation helpful? Give feedback.
-
What happens, if a container restart command is issued exactly in the moment, while data is written to the database? |
Beta Was this translation helpful? Give feedback.
-
Hey folks,
I want to restart Rocket inside the Vaultwarden Docker Container for automated certificate renewal.
I thought of using
docker exec vaultwarden ...
but i don't know how exactly. Can anybody give me a hint?I don't want to restart the whole container, since other components like the database do not depend on the SSL certificate.
BR,
Giga-Pudding
Beta Was this translation helpful? Give feedback.
All reactions