Skip to content

Data Is Lost After Removing the Container ​

This usually means /data was not mounted, or it was mounted to a temporary directory.

Make sure docker-compose.yml contains:

yaml
volumes:
  - ./data:/data

The container path /data stores critical data:

  • SQLite database leelaa.db
  • initial admin password file password.txt
  • cover cache
  • runtime files

Before removing or upgrading the container, make sure the host-side data directory still exists and is backed up.