ã¯ããã« docker-composeã§ã¢ããªããããã¤ããéãpumaã«ããunicornã«ãããRailsã®ã¢ããªãç«ã¡ä¸ããåã«ãã¼ã¿ãã¼ã¹ãèµ·åãã¦ããå¿ è¦ãããã¾ããããã¯ãã¼ã¿ãã¼ã¹ã®ã³ã³ãããèµ·åãã¦ããã¨ããæå³ã§ã¯ãªãããã¼ã¿ãã¼ã¹ã®ããã»ã¹ãç«ã¡ä¸ããããã¼ããå¤é¨ã«åãã¦éæ¾ããã¦ãããä»æããå©ç¨ãå¯è½ã«ãªã£ã¦ããå¿ è¦ããããã¨ãããã¨ã§ãããã¾ãã ããã確èªããããã®æ©æ§ãdocker-composeã«ã¯ããã¾ããã å®è£ ããã§wait-for-itã¨å¼ã°ããã¹ã¯ãªãããå©ç¨ãã¾ãã ãããdocker-compseã®commandããå¼ã³åºãã¾ãã docker-compose run web bin/wait_for_it db:3306 -- rake db:create wait-for-itã¯ç¹å®ã®ãã¼ãã«å¯¾ãã¦ãã¢ã¯ã»ã¹ãå¯è½ã§ãããå¦ããå¤æãã
{{#tags}}- {{label}}
{{/tags}}