소스 검색

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/lib/crafatar/images:/app/images
   -v /var/log/crafatar:/app/logs
   -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
 #### Local
 * [Install](https://github.com/Automattic/node-canvas/wiki) Cairo.
 * [Install](https://github.com/Automattic/node-canvas/wiki) Cairo.