$ docker login $ docker search redis ### (optional search for redis) $ docker pull redis $ docker pull postgres $ docker pull sentry $ docker run -d --name sentry-redis redis $ docker run -d --name sentry-postgres -e POSTGRES_PASSWORD=yourpassword -e POSTGRES_USER=sentry postgres $ docker run -d --name sentry -p 8080:9000 --link sentry-redis:redis --link sentry-postgres:postgres sentry $ docker run -it --rm --link sentry-postgres:postgres --link sentry-redis:redis sentry sentry upgrade $ docker run -d --name sentry-celery1 --link sentry-redis:redis --link sentry-postgres:postgres sentry sentry celery worker $ docker run -d --name sentry-celery-beat --link sentry-redis:redis --link sentry-postgres:postgres sentry sentry celery beatFor me, the initial user didn't have enough rights, so I created an additional user using:
$ docker run -it --rm --link sentry-redis:redis --link sentry-postgres:postgres sentry sentry createsuperuserTo make the web portal accessible, you'll have to open the port Azure, using Settings - Endpoints:
All kudo's for this post go to: https://hub.docker.com/_/sentry/ for the excellent description, I've only created this post to add the additional docker pull / Azure stuff. I don't know if this is how you want to run it on production, but at least you have a very easy test environment.
Now you can compare this with other error loggers like:
What is your experience with error loggers and monitoring tools and which one would you recommend?
Cheers,
Luuk
No comments:
Post a Comment