Skip to content

Instantly share code, notes, and snippets.

View saitanay's full-sized avatar
💭
lorem ipsum

Tanay Sai saitanay

💭
lorem ipsum
View GitHub Profile
version: "3"
services:
nifi:
image: apache/nifi:1.11.4
container_name: nifi
restart: unless-stopped
network_mode: bridge
ports:
# HTTP
- 8080:8080/tcp
@saitanay
saitanay / Getting up and running with Mautic on your Mac with Docker.md
Last active December 31, 2020 18:01
Getting up and running with Mautic on your Mac with Docker

Getting up and running with Mautic on your Mac with Docker

When I started to try out the Mautic community version on my local instance, it was a bit of a hassle and not very straightforward, for I was new to Mautic, and I am not very familiar with Docker as well.

Some of the issues I stumbled into include -

  1. PHP docker image is very bare bone. Doesn’t come loaded with even the most common of drivers like MySQL. Causing the installation page to not show “MYSQL” as an option. (Mautic issue link)
  2. A regression in Mautic currently doesn’t show the right message on screen for any database connectivity problems during installation. (Mautic issue link). This only made the earlier #1 issue not very obvious
  3. Connecting from the PHP container to MySQL was not getting through either via 127.0.0.1 or via localhost ([Mautic issue link](https:
FROM php:7.2-apache
RUN apt-get update && \
apt-get install -y \
zlib1g-dev
RUN apt-get update -y && apt-get install -y sendmail libpng-dev
RUN apt-get update && \
apt-get install -y \
zlib1g-dev
# Use root/example as user/password credentials
# Replace /Users/tanaysai/dev/mautic-comm/mautic with the folder name where you have your mautic codebase.
# This could be relative to the location of this file. Below I have an absolute address that I used.
# Same with "../dockerdata/mysql". I have a mysql folder to save the db info one level outside the location of this file.
# You can update this to a different folder as you see it fit
version: '3.1'
services:
@saitanay
saitanay / commands.txt
Created December 6, 2015 17:29
Currently available commands on mrrobot - The Reddit India Slack Chat Bot
1) @anu_user:++ or @anyuser ++
Ex: @v++
(Just do @<type user name>, autocomplete using tab, or type in the username, followed by a ++)
2) @mrrobot score plz
Gives current cricket scores
Including all small matches / Ranjies happening..