rnwood / smtp4dev

smtp4dev - the fake smtp email server for development and testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there an in-memory persistence option

diegosasw opened this issue · comments

I am using the docker image.

Is there any option to make persistence ephimeral or in-memory storage or similar?

Basically, I'd like to have it as part of a docker compose, but delete all its container's volume data when stopping docker compose

Yes. --db= command line option (with no value) will use in memory DB.

See https://github.com/rnwood/smtp4dev/wiki/Configuration#command-line-options for more details