I have a Drone.io 0.5 server working great on a personal server.
However, after reboot the physical server where Drone runs, its configuration, builds and secrets were lost. To be exact, part of the information were lost. It looks like the shutdown killed the Drone server and only the state from two days ago was saved on disk. Anyway, it looked like the configuration that remained was corrupted, so I had to reconfigure everything again (repos, secrets, etc.)
Is there any way to make Drone flush its data on disk more often? I'm worried for an unexpected reboot, and have the same problem again.
EDIT: I tested and $ docker-compose stop
is enough to stop the server and save all the data. I'm still worried about what to do in case of a server crash.