Last active
September 16, 2018 23:17
-
-
Save eneas/76c37d608ccf786c41b9ba0cc0eef8a1 to your computer and use it in GitHub Desktop.
Revisions
-
eneas revised this gist
Nov 21, 2016 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,17 +2,17 @@ function learnmysql_intit { #Change supersecretpassword to work in not trusted network. docker run --name mysql -e MYSQL_ROOT_PASSWORD="supersecretpassword" -d mysql docker run --name phpmyadmin -d --link mysql:db -p 8080:80 phpmyadmin/phpmyadmin } function learnmysql_stop { docker stop mysql phpmyadmin } function learnmysql_start { docker start mysql phpmypadmin } function learnmysql_clean { docker rm mysql phpmypadmin docker rmi mysql phpmyadmin/phpmyadmin } -
eneas revised this gist
Nov 21, 2016 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,4 +10,9 @@ function learnmysql_stop { function learnmysql_start { docker start mysql myphpadmin } function learnmysql_clean { docker rm mysql myphpadmin docker rmi mysql phpmyadmin/phpmyadmin } -
eneas revised this gist
Nov 21, 2016 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,5 @@ #learnmysql_init will pull mysql and phpmyadmin/phpmyadmin images from the registry function learnmysql_intit { #Change supersecretpassword to work in not trusted network. docker run --name mysql -e MYSQL_ROOT_PASSWORD="supersecretpassword" -d mysql docker run --name myphpadmin -d --link mysql:db -p 8080:80 phpmyadmin/phpmyadmin -
eneas revised this gist
Nov 21, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ #!/bin/env bash #learnmysql_init will pull mysql and phpmyadmin/phpmyadmin images from the registry function learmysql_intit { #Change supersecretpassword to work in not trusted network. docker run --name mysql -e MYSQL_ROOT_PASSWORD="supersecretpassword" -d mysql -
eneas revised this gist
Nov 21, 2016 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ #!/bin/env bash #Change supersecretpassword to work in not trusted network. function learmysql_intit { #Change supersecretpassword to work in not trusted network. docker run --name mysql -e MYSQL_ROOT_PASSWORD="supersecretpassword" -d mysql docker run --name myphpadmin -d --link mysql:db -p 8080:80 phpmyadmin/phpmyadmin } -
eneas revised this gist
Nov 21, 2016 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,13 @@ #!/bin/env bash #Change supersecretpassword to one secure. function learmysql_intit { docker run --name mysql -e MYSQL_ROOT_PASSWORD="supersecretpassword" -d mysql docker run --name myphpadmin -d --link mysql:db -p 8080:80 phpmyadmin/phpmyadmin } function learnmysql_stop { docker stop mysql myphpadmin } function learnmysql_start { docker start mysql myphpadmin } -
eneas revised this gist
Nov 21, 2016 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,12 +2,12 @@ #Change supersecretpassword to one secure. function learmysql_intit(){ docker run --name mysql -e MYSQL_ROOT_PASSWORD="supersecretpassword" -d mysql docker run --name myphpadmin -d --link mysql:db -p 8080:80 phpmyadmin/phpmyadmin } function learnmysql_stop(){ docker stop mysql myphpadmin } function learnmysql_start(){ docker start mysql myphpadmin } -
eneas revised this gist
Nov 21, 2016 . 1 changed file with 11 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,13 @@ #!/bin/env bash #Change supersecretpassword to one secure. function learmysql_intit(){ docker run --name mysql -e MYSQL_ROOT_PASSWORD="supersecretpassword" -d mysql docker run --name myadmin -d --link mysql:db -p 8080:80 phpmyadmin/phpmyadmin } function learnmysql_stop(){ docker stop mysql myadmin } function learnmysql_start(){ docker start mysql myadmin } -
eneas revised this gist
Nov 21, 2016 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,7 @@ #Change supersecretpassword to one secure. docker run --name mysql -e MYSQL_ROOT_PASSWORD="supersecretpassword" -d mysql docker run --name myadmin -d --link mysql:db -p 8080:80 phpmyadmin/phpmyadmin docker stop mysql myadmin docker start mysql myadmin -
eneas created this gist
Nov 21, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ #Change supersecretpassword to one secure. docker run --name mysql -e MYSQL_ROOT_PASSWORD="supersecretpassword" -d mysql docker run --name myadmin -d --link mysql:db -p 8080:80 phpmyadmin/phpmyadmin