First let me say THANKS for this! Was happy to see someone had code to integrate cachet with slack and happier to see it structured in a way that allows it to be integrated very easily!!
I wanted to provide what I did to get this integration to work with the existing cachethq/docker image.
Dockerfile:
FROM cachethq/docker:2.3.12
# integration for slack - https://github.com/mrbase/cachet-slack-integration
## Add version to composer
COPY patches/composer.patch /tmp/composer.patch
RUN patch /var/www/html/composer.json /tmp/composer.patch
## Install integration
RUN php /bin/composer.phar require "cachethq/cachet:2.4.x-dev" && php /bin/composer.phar require mrbase/cachet-slack-integration
COPY patches/slack.patch /tmp/slack.patch
RUN patch /var/www/html/config/app.php /tmp/slack.patch
RUN php artisan vendor:publish
## Copy default config for integration
RUN cp /var/www/html/vendor/mrbase/cachet-slack-integration/src/resources/slack.php /var/www/html/config/slack.php
RUN sudo chown www-data /var/www/html/config/slack.php
Glad you like it - I haven't used it in a while tho.
Have you used it with the latest version of cachet ? Last I checket events where handled differently than the implementation i did.
First let me say THANKS for this! Was happy to see someone had code to integrate cachet with slack and happier to see it structured in a way that allows it to be integrated very easily!!
I wanted to provide what I did to get this integration to work with the existing
cachethq/docker
image.Dockerfile:
patches/composer.patch:
patches/slack.patch:
Feel free to include this in your repo or just close this issue for others to find.
Thanks again!!!