Merge pull request 'Update README' (#2) from develop into master
Reviewed-on: #2
This commit is contained in:
commit
a4e634fe78
18
README.md
18
README.md
@ -10,3 +10,21 @@
|
||||
1. ファイルの取得
|
||||
1. ストリーム形式でのエンコード
|
||||
|
||||
## Docker で利用する場合
|
||||
|
||||
### 1. イメージの作成
|
||||
|
||||
1. `$ git clone https://git2.kemq.net/Kemq/ReviewProxy.git`
|
||||
1. `$ cd ReviewProxy`
|
||||
1. `$ docker build . -t revproxy`
|
||||
|
||||
### 2. コンテナの実行
|
||||
|
||||
1. `$ docker run -p <ポート番号>:5000 revproxy`
|
||||
1. `$ docker ps -a`
|
||||
1. `$ docker start <containerID>`
|
||||
|
||||
### 1. ファイアウォールの解放
|
||||
|
||||
1. `$ ufw allow <ポート番号>/tcp`
|
||||
1. `$ firewall-cmd --add-port=<ポート番号>/tcp --zone=public --permanent`
|
||||
|
Loading…
x
Reference in New Issue
Block a user