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

/var/log or /var/log/shinken should be a docker volume #9

Open
erny opened this issue Nov 5, 2015 · 1 comment
Open

/var/log or /var/log/shinken should be a docker volume #9

erny opened this issue Nov 5, 2015 · 1 comment

Comments

@erny
Copy link

erny commented Nov 5, 2015

I think, any logs / data stored should be persisted outside of the docker container, so that when rebuilding no data would be lost (much like custom_config).

@rohit01
Copy link
Owner

rohit01 commented Nov 5, 2015

Agree. For simplicity, it is not written in docs. You can mount the /var/log directory of the container just like custom configs. Just add one more volume mounting. A quick example:

-v "/var/log/shinken:/var/log/shinken"

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

2 participants