- appを突っ込んだcontainerからhostのpostgresqlへのアクセスをしたい
docker link- すること: 環境変数の共有と/etc/hosts内に値を注入する
- よきこと: いちいちcontainerのlocal IPを指定しなくても通信できるようにする
- 決してcomponent間のアクセスを可能にするものではない
| # supervisor | |
| # | |
| # Author: Günter Grodotzki <gunter@grodotzki.co.za> | |
| # Version: 2015-04-25 | |
| # | |
| # - set param "SUPERVISE=enable" to activate | |
| # - chmod +x supervise.sh | |
| # | |
| packages: | |
| yum: |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| $ wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-amd64.tar.bz2 | |
| $ tar xvjf wkhtmltopdf-0.9.9-static-amd64.tar.bz2 | |
| $ mv wkhtmltopdf-amd64 /usr/bin/wkhtmltopdf | |
| // In case you got the issue | |
| // wkhtmltopdf: error while loading shared libraries: | |
| // libfontconfig.so.1: cannot open shared object file: No such file or directory | |
| // | |
| // run the command below: | |
| $ yum install urw-fonts libXext libXrender fontconfig libfontconfig.so.1 |
| # 少し凝った zshrc | |
| # License : MIT | |
| # http://mollifier.mit-license.org/ | |
| ######################################## | |
| # 環境変数 | |
| export LANG=ja_JP.UTF-8 | |
| # 色を使用出来るようにする |