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

mount volume for log files #76

Open
mimusica opened this issue Jul 21, 2020 · 1 comment
Open

mount volume for log files #76

mimusica opened this issue Jul 21, 2020 · 1 comment

Comments

@mimusica
Copy link
Collaborator

I have a suggestion to mount a volume to the location where you keep your log files.
This might come in handy for security reasons, etc... At the moment, you don't have any volumes mounted, which means that your log files aren't persistent through container restarts. Therefor you don't know what caused the previous container to stop or restart.

create a docker volume and mount it to /var/log/asterisk (or wherever the log files are located)

@mimusica
Copy link
Collaborator Author

To be added to the dockerfile:

VOLUME ['/var/lib/asterisk','/var/log/asterisk','/var/spool/asterisk']

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

No branches or pull requests

1 participant