File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -124,14 +124,16 @@ docker-compose up
124
124
125
125
``` shell
126
126
cd feapder-platform
127
- vim docker-compose.yaml
127
+ vim .env
128
128
```
129
129
130
130
配置里有注释,注意必须修改下面两项
131
131
132
132
``` shell
133
- - FEAPDER_BACKEND_URL=http://ip:8000 # **必填 服务端内网地址
134
- - AUTHORIZATION_CODE= # **必填 授权码
133
+ # 服务端部署的服务器所在的内网IP,用于爬虫节点通讯
134
+ BACKEND_IP=
135
+ # 授权码
136
+ AUTHORIZATION_CODE=
135
137
```
136
138
137
139
查看内网地址:
@@ -141,6 +143,8 @@ ifconfig
141
143
```
142
144
![ ] ( http://markdown-media.oss-cn-beijing.aliyuncs.com/2021/07/06/16255025919847.jpg )
143
145
146
+ ` .env ` 文件将常用的配置项列了出来,` docker-compose.yaml ` 引用。若需要更进一步的自定义配置,可修改` docker-compose.yaml `
147
+
144
148
145
149
#### 4. 后台运行
146
150
``` shell
@@ -152,7 +156,7 @@ docker-compose up -d
152
156
默认地址:` http://localhost `
153
157
默认账密:admin / admin
154
158
155
- 端口修改在` docker-compose.yaml `
159
+ 端口修改在` .env ` 文件
156
160
157
161
#### 6. 停止
158
162
@@ -184,7 +188,7 @@ COPY .ssh /root/.ssh
184
188
185
189
欢迎提PR,大家一起构建一个🐂的镜像
186
190
187
- ## 价格 109元
191
+ ## 价格 119元
188
192
189
193
先部署运行,然后根据终端打印的日志 提供机器码和公网IP,联系作者微信购买授权码
190
194
You can’t perform that action at this time.
0 commit comments