瀏覽代碼

needs to be listening on 0.0.0.0 !!

jomo 10 年之前
父節點
當前提交
6d0ccef8f4
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      README.md

+ 6 - 1
README.md

@@ -32,7 +32,12 @@ Please [visit the website](https://crafatar.com) for details.
   -v /var/lib/crafatar/images:/app/images
   -v /var/log/crafatar:/app/logs
   ```
-0. Deploy with `PORT=5000`
+0. Deploy with ENV config:
+
+  ```bash
+  PORT=5000
+  BIND=0.0.0.0
+  ```
 
 #### Local
 * [Install](https://github.com/Automattic/node-canvas/wiki) Cairo.