Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 625 Bytes

fs.md

File metadata and controls

22 lines (14 loc) · 625 Bytes

File system persistence

Haffa can work with a file system as a persistence layer. This is fine for small installations and local development but performance is poor compared to MongoDB for managing adverts, profiles and login state.

Minio might also be a better choice when it comes to maning user submitted assets (i.e. advert images).

Configuration

Environment variables

Name Required Default value
FS_DATA_PATH Yes

Local environment

Ensure .env contains

FS_DATA_PATH=./.local