Closed robpingxu closed 3 years ago
I have contribsys/faktory image running on Google Compute Engine VM and was mounting a persistent disk according to the documentation for docker at: https://github.com/contribsys/faktory/wiki/Installation
contribsys/faktory
The data wasn't persisting after a restart so I looked in the container and found the data sitting at /root/.faktory/db/faktory.rdb
/root/.faktory/db/faktory.rdb
Swapped the mount to /root/.faktory and it seems to be working.
/root/.faktory
If you run Faktory in production via “-e production”, it will persist to /var/lib/faktory.
Ah, I see. So I need to set that as an additional container arg in GCE.
I have
contribsys/faktory
image running on Google Compute Engine VM and was mounting a persistent disk according to the documentation for docker at: https://github.com/contribsys/faktory/wiki/InstallationThe data wasn't persisting after a restart so I looked in the container and found the data sitting at
/root/.faktory/db/faktory.rdb
Swapped the mount to
/root/.faktory
and it seems to be working.