ckulka / baikal-docker

Provides a ready-to-go Baikal server, incl. docker-compose.yml & Systemd service file
https://hub.docker.com/r/ckulka/baikal
MIT License
335 stars 46 forks source link

Upgrade baikal docker without data loss #170

Closed emilevandeven closed 3 months ago

emilevandeven commented 6 months ago

I use portainer / docker / watchtower to keep my systems up-to-date. In the past I included my baikal docker, but it seems that the automatic update doesn't work because it uses another volume for the data. So after update the database was empty. The old volume was still available so I was able to correct this. Is there a way to use automatic update with watchtower without the problem I mentioned above?

Vysp3r commented 6 months ago

I think if you use persistent data instead of volumes it will fix your problem.

ckulka commented 5 months ago

Hi @emilevandeven , while I'm unfamiliar with Portainer and Watchtower, it sounds like what @Vysp3r said is the most likely culprit.

Can you share your volume configuration for the Baikal container?

emilevandeven commented 3 months ago

Excuse me for the late response! @Vysp3r thanks for the suggestion! That's the solution for my problem.