Skip to content

Instantly share code, notes, and snippets.

@beagleknight
Last active August 29, 2015 14:19
Show Gist options
  • Save beagleknight/a6cd2ce2d911b8c7f6f9 to your computer and use it in GitHub Desktop.
Save beagleknight/a6cd2ce2d911b8c7f6f9 to your computer and use it in GitHub Desktop.
docker run --restart=always --name redis -p 6379:6379 -v /var/lib/redis:/data -d redis
docker run --restart=always --name mysql -p 3306:3306 -v /var/lib/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=password -d mysql
docker run --restart=always --name mongo -p 27017:27017 -v ~/mongodb:/data/db -d mongo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment