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

Docker Support #60

Open
catdevman opened this issue Mar 13, 2018 · 1 comment
Open

Docker Support #60

catdevman opened this issue Mar 13, 2018 · 1 comment

Comments

@catdevman
Copy link

Not sure how often this is used for production but I saw and thought it would be perfect for viewing logs on our developer setup. I love Docker and thought why not support this awesome community.
Here is the branch that I have working with Docker and image on Docker Hub.

I have been using the image like docker run -v ``pwd`` /app/config:/var/www/html/app/config -v /home/username/logs:/logs catdevman/monolog-viewer from the root of the git repo.

With a config file like

debug: false
timezone: "America/New_York"
date_format: dd.MM.yyyy HH:mm:ss
display_logger: false
default_limit: 100
cache_expire: 300
reverse_line_order: true
logs:
    Client:
        Client-Log-File:
            type: local
            path: /logs/great.log

If this is of interest to the project please let me know and I will make a PR.

@ntidev
Copy link

ntidev commented Dec 20, 2018

This would be perfect with docker! There wouldn't even be a need to worry about the PHP version.

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