Skip to content

sqlite DNS logs on tmpfs #758

Answered by ShreyasZare
ackstorm23 asked this question in Q&A
Oct 15, 2023 · 3 comments · 5 replies
Discussion options

You must be logged in to vote

Thanks for the post. As you mentioned, you can mount the tmpfs in the container as a volume and then set the database file path for that volume from the app config. The db file gets created if it does not exists.

The maxLogDays is the only option at the moment to remove old data. Another option can be planned to limit the number of records too. Will think on this and plan something.

What is the usecase for in-memory database that you have since any restart would mean you lose the data?

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@ackstorm23
Comment options

@ShreyasZare
Comment options

@WestFarmer
Comment options

Answer selected by ackstorm23
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ackstorm23
Comment options

@ShreyasZare
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants