pentacent / keila

Open Source Newsletter Tool.
https://keila.io
GNU Affero General Public License v3.0
1.44k stars 81 forks source link

Loosing all data after container restart #345

Closed deraljoscha closed 2 weeks ago

deraljoscha commented 2 weeks ago

I've been using Keila for a few days and was super happy about everything. But today after restarting the container all data was lost, even though I didn't change enything about my docker compose file Can anyone help?

this is my docker compose

version: "3"

services: keila: image: pentacent/keila:latest ports:

wmnnd commented 2 weeks ago

Do you mean you lost your uploaded images? It looks from your configuration that you didn’t set up a volume to store those so that's why it was lost when the container was recreated. You need to make sure there's a volume mounted at USER_CONTENT_DIR so that uploaded files are persisted. (see https://www.keila.io/docs/configuration)

deraljoscha commented 2 weeks ago

thanks for your quick answer but no i wasnt talking about the pictures, I know i didnt set a store for that. my whole project was gone, with templates, campaigns, contacts etc

wmnnd commented 2 weeks ago

In that case something is most likely wrong with your Postgres container. Maybe you also didn't set a volume for that and it was recreated as well?