Docker for Tagfans development.
Please install docker engine and docker-compose command first.
Download source into your project.
$ cd your_project_path
$ git clone https://github.com/tagfans/docker.git
$ cd docker
Open your terminal and execute the following command.
$ mysql -h 127.0.0.1 -u tagfans -p tagfans < db.sql
default password is tagfans
.
Start all application containers (Node, Mysql and Redis)
$ docker-compose up -d
Stop all application containers
$ docker-compose stop
Remove all application containers
$ docker-compose down