Skip to content

Instantly share code, notes, and snippets.

View redsnapperrice's full-sized avatar

鯛めし redsnapperrice

View GitHub Profile
@redsnapperrice
redsnapperrice / docker-compose.yml
Last active February 1, 2017 03:02
Create a WordPress Container with SSL and a MySQL Container with a dump file on Docker
version: '2'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
- ./db-data/mysql.dump.sql:/docker-entrypoint-initdb.d/install_wordpress.sql
restart: always
environment:
@redsnapperrice
redsnapperrice / Install_webpack_with_--save-dev.md
Last active December 4, 2016 07:31
The way to install webpack with "--save-dev"

The way to install webpack with "--save-dev"

1. Create package.json on your working directory

$ npm init

2. Add the following objects in package.json

"scripts": {
@redsnapperrice
redsnapperrice / docker-compose.yml
Last active November 10, 2016 03:37
The sample yml file to run Docker Containers of my WordPress.
version: '2'
services:
test_wordpress_db:
image: mysql:latest
restart: always
environment:
MYSQL_ROOT_PASSWORD: pass
test_wordpress: