Skip to content

isocra/docker-node-mysql-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Node Mysql demo app

Demo of how to setup a nodejs app and mysql db services using docker+fig.

Getting started

  • Clone project and cd into it
  • Install docker
  • Install fig
  • Copy your sql dump to lib/db/dump.sql path.
  • If using boot2docker, sync guest clock with:
  /usr/local/bin/boot2docker ssh sudo ntpclient -s -h pool.ntp.org
  • Run make.
  • Visit app on port 5000.
  • Enter your db name to list its tables.
  • The database data is contained in a db container that can be periodically backed up to s3 and then restored when needed using a tool like docker-infra/docker-backup.

About

Docker nodejs mysql demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published