Comments (11)
这是为了防止你搭建的服务被别人恶意绑定,你只要在dev_owllook.env
加上:
VAL_HOST = '0'
from owllook.
谢谢大佬回复。
root@test:~# docker run --env-file ./dev_owllook.env -d -p 8001:8001 howie6879/owllook:latest
docker: poorly formatted environment: variable 'VAL_HOST ' has white spaces.
是我加的位置不对吗?加在目前的位置和最后,都同样是上面的出错情况
MODE=DEV
VAL_HOST = '0'
REDIS_ENDPOINT=127.0.0.1
REDIS_PORT= 6379
REDIS_PASSWORD=''
MONGO_HOST= 127.0.0.1
MONGO_PORT= 27017
MONGO_USERNAME=''
MONGO_PASSWORD=''
from owllook.
报错写得很清楚 空格
from owllook.
谢谢,能运行了,不过浏览器进行浏览时:
Internal Server Error
The server encountered an internal error and cannot complete your request.
from owllook.
那你要看日志报什么错了
from owllook.
因该是你的redis和mongodb地址不对 docker里面用不了localhost 得开ip地址
from owllook.
哦,好的,我改改,试试。
日志哪里看?
from owllook.
还是没成。依然
Internal Server Error
The server encountered an internal error and cannot complete your request.
强烈希望大佬能把这些都封到一个docker里。
别说让我自己来封,不会,哈
from owllook.
不会的话 那你就试试不用docker 直接下拉代码调试运行
from owllook.
用这个吗?感觉没有docker方便,用这个办法,需做VAL_HOST='0'处理吗?如有的话,哪个文件里?
下载代码
git clone https://github.com/howie6879/owllook
cd owllook
pip install pipenv
pipenv install --python /Users/howie/anaconda3/envs/python36/bin/python3.6
进入虚拟环境
pipenv shell
运行:
cd owllook
python server.py
from owllook.
解决了么 不清楚看FAQ部分
from owllook.
Related Issues (20)
- 爬起点的书名报错 HOT 3
- ModuleNotFoundError: No module named 'pymongo.mongo_replica_set_client' HOT 3
- 大佬,为啥现在https://owlook.com.cn/网站不行了,里面小说点进去具体章节都是404 HOT 4
- docker镜像构建 pipenv install 环节报错
- 没被破译的小说
- 你有点极端了
- 演示网站炸了
- 按照安装教程pipenv install 安装失败,小白一枚,麻烦看看 HOT 2
- 如何调试源码 HOT 3
- 利用docker,一直启动不起来,大佬们帮帮忙吧 HOT 1
- docker打包镜像出错 HOT 9
- 登录注册和阅读小说功能不能用 HOT 1
- 遇到和之前几位一样的MONGODB后缀问题 HOT 1
- 免费开源的小说阅读项目 https://github.com/yuenov/reader-api
- 修改config.py文件里面的redis配置不生效
- 渲染网页时遇到个错误 HOT 1
- 哪里可以关闭直接跳转第三方网站啊
- 提取章节标题,遇到有表情的章节 不能正确提取
- pipenv install --python 这一步一直报错是为什么
- 请求服务报错,TypeError: 'Request' object does not support item assignment HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from owllook.