Closed diegosasw closed 6 months ago
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.
--db=
See https://github.com/rnwood/smtp4dev/wiki/Configuration#command-line-options for more details
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