docker-compose.debug.ymlを追加 (#55)

* docker-compose.debug.ymlを追加

* README追記
This commit is contained in:
Eai 2019-01-18 20:00:24 +09:00 committed by shibafu
parent 4e1eec66be
commit e5ea0528a8
2 changed files with 14 additions and 0 deletions

View File

@ -60,6 +60,14 @@ docker-compose up -d
これで準備は完了です。Tissue が動いていれば `http://localhost:4545/` でアクセスができます。
## デバッグ実行
```
docker-compose -f docker-compose.yml -f docker-compose.debug.yml up -d
```
で起動することにより、DB のポート`5432`を開放してホストマシンから接続できるようになります。
## 環境構築上の諸注意
- 初版時点では、DB サーバとして PostgreSQL を使うよう .env ファイルを設定するくらいです。

6
docker-compose.debug.yml Normal file
View File

@ -0,0 +1,6 @@
version: "3"
services:
db:
ports:
- 5432:5432