Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistent log for Bot module #24

Open
olegeech-me opened this issue Oct 3, 2023 · 1 comment
Open

Persistent log for Bot module #24

olegeech-me opened this issue Oct 3, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@olegeech-me
Copy link
Owner

Previous logs vanish after docker compose rebuild

@olegeech-me olegeech-me added the enhancement New feature or request label Oct 3, 2023
@Jasstkn
Copy link

Jasstkn commented Nov 10, 2023

I think this should be resolved via usage of bind volumes that mount host directory instead of creating ephemeral volume. Therefore, even though the entity will be deleted after the docker compose down, the data should persist.
ref: https://docs.docker.com/storage/bind-mounts/#use-a-bind-mount-with-compose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants