2016-01-01ãã1å¹´éã®è¨äºä¸è¦§
åå Docker ã³ã³ãããããã¹ã OS (Windows)ã¸ã®ã¢ã¯ã»ã¹å¯è½ãªãã¨ã確èªãã¾ããããä»åã¯ãã®å¿ç¨ã§ã³ã³ãããã XAMPP ã® MySQL ã«æ¥ç¶ãã¦ã¿ã¾ã åä½ç°å¢ 以ä¸ã®ç°å¢ã§æ¤è¨¼ãã¾ãã VirtualBoxãDocker ã¯ã¤ã³ã¹ãã¼ã«æ¸ã¿ã®åæã§è©±ãé²ãã¾ã Winâ¦
Windows + VirtualBox + Docker ã§åä½ãã¦ããã³ã³ãããããã¹ã OS ã¸ã®ã¢ã¯ã»ã¹
Docker ã³ã³ãããããã¹ã OS (CoreOS,Windows)ã¸ã®ã¢ã¯ã»ã¹æ¹æ³ã«ã¤ã㦠åä½ç°å¢ 以ä¸ã®ç°å¢ã§æ¤è¨¼ãã¾ãã VirtualBoxãDocker ã¯ã¤ã³ã¹ãã¼ã«æ¸ã¿ã®åæã§è©±ãé²ãã¾ã Windows10 Home Edition VirtualBox 5.1.6 docker 1.10.3 docker-machine 0.6.0 ãâ¦
Docker ã§æ§ç¯ãã Ruby on Rails5 ã®ç°å¢ã§ "Hello world!" ã表示ãã¦ã¿ã ã³ã³ããã¼ã©ä½æ Docker ãã¹ãOS ä¸ã§ä¸è¨ã³ãã³ãã§ä½æ $ docker-compose run --rm web rails generate controller hello create app/controllers/hello_controller.rb invokeâ¦
åå Docker 㧠Ruby on Rails5 ã®ãµã¼ãã¼ãåä½ã§èµ·åããã¾ããããä»å㯠MySQL é£æºããã¦ã¿ã¾ããã è¨å®ãã¡ã¤ã«ããã³æä½æé ã«ã¤ã㦠ãã¡ãã®ãµã¤ãã«è¨è¼ããã¦ããæé ã¨ã»ã¼åãã§ãã qiita.com 以ä¸ãå 容ãå¤æ´ããè¨å®ãã¡ã¤ã«ã§ããDockeâ¦
Docker 㧠Ruby on Rails5 ã®éçºç°å¢ã®ãã¼ã¹ã¤ã¡ã¼ã¸ãä½æããã¨ãã®æé ã¡ã¢ è¨å®ãã¡ã¤ã«ããã³æä½æé ã«ã¤ã㦠ãã¡ãã®ãµã¤ãã«è¨è¼ããã¦ããæé 㧠rails5 ãã»ããã¢ããã§ãã¾ããã qiita.com 以ä¸ãå 容ãå¤æ´ããè¨å®ãã¡ã¤ã«ã§ããDockerfilâ¦
Docker 㧠Laravel 5.3 ã®éçºç°å¢ãæ§ç¯ããéã®æé ã¡ã¢ æ¤è¨¼ç°å¢ 以ä¸ã®ç°å¢ã§æ¤è¨¼ãã¾ãã VirtualBoxãDocker ã¯ã¤ã³ã¹ãã¼ã«æ¸ã¿ã®åæã§è©±ãé²ãã¾ã Windows10 Home Edition VirtualBox 5.0.16 docker 1.10.3 docker-machine 0.6.0 docker-compose 1â¦
ååæå㧠Google API ã® Access Token 㨠Refresh Token ãåå¾ããã®ã§ãããã使ã£ã¦ oriceon/oauth-5-laravel 㧠OAuth èªè¨¼ãæ¤è¨¼ããã¨ãã®ã¡ã¢ æ¤è¨¼ç°å¢ $ php --version PHP 5.5.19 (cli) (built: Nov 12 2014 12:35:44) Copyright (c) 1997-2014 Tâ¦
ã¯ããã« Google App Engine (GAE) ãéç¨ããå ´åé常ãµã¼ãã¹ã¢ã«ã¦ã³ãã使ç¨ãã¾ããããµã¼ãã¹ã¢ã«ã¦ã³ãããå人㮠Gmail ãªã©ã«ã¢ã¯ã»ã¹ããéã«ã¯å¥é OAuth èªè¨¼ãè¡ã£ã¦ Access TokenãRefresh Token ãåå¾ããå¿ è¦ãããããããã®æé ã®ã¡ã¢ OAâ¦
oriceon/oauth-5-laravel 㧠Pocket API ã® OAuth èªè¨¼ãæ¤è¨¼ããã¨ãã®ã¡ã¢ æ¤è¨¼ç°å¢ $ php --version PHP 5.5.19 (cli) (built: Nov 12 2014 12:35:44) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technoloâ¦
Google Container Engine (GKE) ã®ã¢ãã¿ãªã³ã°ã«ã¤ãã¦ã®ã¡ã¢ Cloud Monitoring ã®æå¹å GKE ã§ã³ã³ãã³ãã¯ã©ã¹ã¿ãä½æããã¨ãã« "Cloud Monitoring ãæå¹ã«ãã" ã«ãã§ãã¯ãå ¥ãã¾ãã åå㯠StackDriver ã®ã¦ã¼ã¶ã¼ç»é²ãè¡ã£ãå¾ã使ç¨å¯è½ã«ãªâ¦
Google Container Engine (GKE) 㧠Kubernetes ã使ã£ã¦ Lumen ãåãããã¨ãã®æé ã¡ã¢ã ä»å㯠ReplicationController 㧠pod ã 3 åç«ã¦ã¦ã¿ã¾ããã Docker ã¤ã¡ã¼ã¸ã®ä½æ 1 åã® pod å 㧠nginx 㨠php-fpm ã® 2 ã¤ã®ã³ã³ãããèµ·åããã¾ãããã®â¦
nginx + php-fpm 㧠Lumen ãåããè¨äºã®ç¶ç·¨ã§ãã Lumen 5.2 㧠Welcome Page ãç¡ããªã£ã¦ãã ææ°çã® Lumen ãã¤ã³ã¹ãã¼ã«ãã¦å®è¡ãã¦ã¿ãããã¼ã¸ã§ã³çªå·ã®ããã¹ãã表示ããã¾ããããã®ç½ãç»é¢ã® Welcome Page ãç¡ãã¨ãã§ããå¯ããã®ã§ Luâ¦
Lumen 5.2 ã§ã³ã³ããã¼ã©ã®ã«ã¼ãã® namespace ã App\Http\Controllers ã«å¤æ´ããã¦ããã®ã§ã¡ã¢ Lumen 5.1 ã§åãã¦ããã³ã¼ãã 5.2 ã§ã¨ã©ã¼ã«ãªã£ã件 app/Http/routes.php get('/', [ 'uses' => 'App\Http\Controllers\WelcomeController@index', ])â¦
Google Container Engine (GKE) 㧠Kubernetes ã使ã£ã¦ nginx + php-fpm ãåãããã¨ãã®æé ã¡ã¢ Docker ã¤ã¡ã¼ã¸ã®ä½æ ä»å㯠1 åã® pod å 㧠nginx 㨠php-fpm ã® 2 ã¤ã®ã³ã³ãããèµ·åããã¾ãããã®ããã® Docker ã¤ã¡ã¼ã¸ãä½æãã¾ãã nginx ã® â¦
GKE ã«ä½æããã¯ã©ã¹ã¿ã« kubectl ã使ã£ã¦ Docker ã³ã³ãããåä½èµ·åããã¨ãã®æé ã¡ã¢ Docker ã¤ã¡ã¼ã¸ã Container Registry 㸠push ä»å㯠nginx ã® Docker Hub å ¬å¼ã¤ã¡ã¼ã¸ããã®ã¾ã¾ä½¿ãã¾ãã $ docker pull nginx $ docker tag nginx gcr.io/myâ¦
Windowsç Google Cloud SDK ã§ã¯ Kubernetes (kubectl) ãåããªããããDocker ã³ã³ãã ã«ã¤ã³ã¹ãã¼ã«ããã¨ãã®æé ã¡ã¢ Dockerfile gcloud ãåä½ãããããã« Python 2.7 ãå¿ è¦ãªãããDocker Hub ã®å ¬å¼ã¤ã¡ã¼ã¸ãæµç¨ãã¦ä½æ # gcloud shell # FRâ¦
Docker 㧠nginx + php-fpm ãåããã¾ã§ã®ä½æ¥æé ã¡ã¢ æ¤è¨¼ç°å¢ Docker Toolbox 1.10.3 ã¨åãæ§æã§ãã VirtualBox 5.0.16 docker 1.10.3 docker-machine 0.6.0 dokcer-compose 1.6.2 docker-compose.yml ã®ä½æ Docker ãã¹ããã·ã³ (CoreOS) ã« /home/â¦
WindowsçVirtualBox ã® Docker ç°å¢ä¸ã§æ§ç¯ãã nginx + php-fpm 㧠Lumen ãåãããã¨ãã®ä½æ¥ã¡ã¢ Docker ã®ãã¹ã OS ã« Windows ã®ãã©ã«ãããã¦ã³ããã ä¸è¨ã®è¨äºã®æé ã§ãã¹ã OS (CoreOS) ã® /workspace ã« Windows ã®ãã©ã«ãããã¦ã³ãããâ¦
Google App Engine ã§èª²éè¨å®ãããéã2ã¶ææå¹ã® 300 USãã«ã®ã¯ã¼ãã³ãã¤ãã¦ããã®ã§ã試ãã« GCP ã« Docker ã®ãã¹ããã·ã³ãç«ã¦ã¦ã¿ã¾ããã æ¤è¨¼ç°å¢ Docker Toolbox 1.10.3 ã¨åãæ§æã§ãã VirtualBox 5.0.16 docker 1.10.3 docker-machine 0.â¦
以å Windows ä¸ã«æ§ç¯ãã Docker ç°å¢ã Docker Toolbox (Docker ã¤ã³ã¹ãã¼ã©) ã使ããã«ææ°ãã¼ã¸ã§ã³ã¢ããããã¨ãã®æé ã¡ã¢ã ãã¼ã¸ã§ã³ã¢ããåã® Docker ç°å¢ VirtualBox 4.3.28 docker 1.8.1 docker-machine 0.4.1 ææ°ã® Docker ç°å¢ 2016å¹´3â¦
Google App Engine for PHP (以ä¸ãGAE)㧠cURL ã使ããããã«è¨å®ããã¨ãã®ã¡ã¢ GAE 㧠cURL ãæå¹åããè¨å® 2016å¹´3æç¾å¨ãGAE ã¯ããã©ã«ãç¶æ 㧠cURL ã使ç¨ãããã¨ã¯ã§ãã¾ããã ä¸è¨ã®éã app.yamlãphp.ini ãå¤æ´ãããã¨ã§é常㮠cURL ã¨â¦
åå Docker ä¸ã® CentOS ã« Python 2.7 ãã¤ã³ã¹ãã¼ã«ãã¾ãããããã®ã¤ã¡ã¼ã¸ãã¤ãã£ã¦ GAE for PHP ã®éçºç°å¢ãä½ã£ã¦ã¿ã¾ãã ãã¤ã³ãã¯ä»¥ä¸ã®äºç¹ã§ãã PHP ã® Memcache ã Memcached æ¡å¼µãã¤ã³ã¹ãã¼ã«ããã¦ãã㨠SDK ã®ã¢ããªããã¼ã«ã«ã§åâ¦
CentOS6 ã«ã¯ããã©ã«ã㧠Python 2.6 ãã¤ã³ã¹ãã¼ã«ããã¦ãã¾ãããPython 2.7 ãå¿ è¦ã«ãªã£ãããã¤ã³ã¹ãã¼ã«ããã¨ãã®ã¡ã¢ã ä¸é¨ã® OS ã³ãã³ãã Python 2.6 ã§æ¸ããã¦ãããä¸æ¸ãã¤ã³ã¹ãã¼ã«ããã¨ãããã®ã³ãã³ãã使ããªããªãæãããããâ¦