Closed deraljoscha closed 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)
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
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?
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:
postgres build: context: ../ dockerfile: ops/Dockerfile environment: SECRET_KEY_BASE: secretsecret DB_URL: "postgres://postgres:postgres@postgres/postgres" URL_HOST: mydomain.com
URL_SCHEMA: 'https'
URL_PORT: '443'
KEILA_USER: my@mail.com KEILA_PASSWORD: mypassword MAILER_SMTP_HOST: mysmtp MAILER_SMTP_USER: username MAILER_SMTP_PASSWORD: 'password' DISABLE_REGISTRATION: true
postgres: image: postgres:alpine ports: