diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -131,6 +131,14 @@ ifeq ($(BUILD_ENTERPRISE_READY),true) echo restarting mattermost-elasticsearch; \ docker start mattermost-elasticsearch> /dev/null; \ fi + + @if [ $(shell docker ps -a | grep -ci mattermost-redis) -eq 0 ]; then \ + echo starting mattermost-redis; \ + docker run --name mattermost-redis -p 6379:6379 -d redis > /dev/null; \ + elif [ $(shell docker ps | grep -ci mattermost-redis) -eq 0 ]; then \ + echo restarting mattermost-redis; \ + docker start mattermost-redis > /dev/null; \ + fi endif stop-docker: |