2016-03-25 01:18:05 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#docker run -v docker start mysql
|
2016-05-14 16:46:53 -07:00
|
|
|
# docker run --name snipe-mysql -e MYSQL_ROOT_PASSWORD=my_crazy_super_secret_root_password -e MYSQL_DATABASE=snipeit -e MYSQL_USER=snipeit -e MYSQL_PASSWORD=whateverdood -d mysql
|
2016-03-25 01:18:05 -07:00
|
|
|
docker run -d snipe-mysql
|
2016-05-14 16:46:53 -07:00
|
|
|
#docker run -d -v ~/Documents/snipeyhead/snipe-it/:/var/www/html -p $(boot2docker ip)::80 --link snipe-mysql:mysql --name=snipeit snipeit
|
|
|
|
docker run --link snipe-mysql:mysql -d -p 40000:80 --name=snipe-it -v ~/Documents/snipeyhead/snipe-it/:/var/www/html \
|
|
|
|
-v ~/Documents/snipeyhead/snipe-it-storage:/var/lib/snipeit --env-file docker.env snipe-test
|