2016-01-01ãã1ã¶æéã®è¨äºä¸è¦§
åé¡ CREATE TABLEæãå®è¡ããã¨ãï¼æ¸ãã¦ã¦æã£ããã©ãUUID v4ã255byteããªãã¦ãããªï¼ CREATE TABLE "users" ( "id" varchar(255) DEFAULT uuid_generate_v4(), "name" text, PRIMARY KEY ("id") ) 以ä¸ã®ããã«ããããã ERROR: function uuid_geneâ¦
追è¨ï¼2016/12/22ï¼ ä»»æã®ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãããç°å¢ãHerokuã«ã¤ãããããã¨ããç®çã§Dockerãé¸æããããã©ãDockerfileã«æ¸ããã¦ããinstallã³ãã³ãã¯æå¹ã«åããªããã¿ãããªæ å ±ãå¾ã¾ãããã§ãã©ãããããããã¯buildpackããã¾ããâ¦
ãããããã£ããã©çµå±ããã§ãã launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist ãã° % pg_ctl stop pg_ctl: no database directory specified and environment variable PGDATA unset oh... % pg_ctl stop -D /usr/local/var/â¦
ã´ã¼ã« MacOSXã§ãdocker-machineã§virtualbox VMãã¤ãã£ã¦ããããdockerãã¹ãã¨ãã¦ãdocker-composeã使ã£ã¦è¤æ°ç¨®é¡ã®ã³ã³ããããªã¼ã±ã¹ãã¬ã¼ã·ã§ã³ãã¦ãã ãããããã¨ãã¨dockerã使ããç°å¢ã«ãã¦ããLinuxã§ãdocker-composeã使ã£ã¦è¤æ°ç¨®é¡â¦
åé¡ docker-machine envããã¨ã There was an error validating certificates for host ~ ã¨å±ããã Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.1â¦
åé¡ docker-compose.yml mongodb: container_name: mongodb image: mongo:3.2.0 ports: - "27017:27017" myapp: container_name: myapp build: . dockerfile: Dockerfile links: - mongodb # ã¾ãã¯ãã¡ãããããå¿ è¦ main.rbï¼æç²ï¼ require 'mongo_mappâ¦
åé¡ Macä¸ã§docker-machineã§VMãç«ã¦ãããã«åãã¦docker-composeãè¯éºã«æ±ºãã % docker-compose build # ç¥ Step 5 : RUN bundle install ---> Running in e8c4e026277a # ç¥ Fetching source index from https://rubygems.org/ Could not fetch specsâ¦
ã¤ãã£ã github.com ä»ãã¨ãGETã ã