Skip to content

Instantly share code, notes, and snippets.

@iskandarsaleh
iskandarsaleh / docker_wordpress.md
Created February 18, 2019 10:31 — forked from bradtraversy/docker_wordpress.md
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
@iskandarsaleh
iskandarsaleh / kafka.sh
Created July 28, 2020 19:48 — forked from rmzamora/kafka.sh
kafka start/stop script
#! /bin/sh
### BEGIN INIT INFO
# Provides: kafka
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: a distributed commit log.
# Description: Apache Kafka is publish-subscribe messaging rethought
# as a distributed commit log.