Giter VIP home page Giter VIP logo

Comments (11)

howie6879 avatar howie6879 commented on August 18, 2024

这是为了防止你搭建的服务被别人恶意绑定,你只要在dev_owllook.env加上:

VAL_HOST = '0'

from owllook.

aff2018 avatar aff2018 commented on August 18, 2024

谢谢大佬回复。

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.

howie6879 avatar howie6879 commented on August 18, 2024

报错写得很清楚 空格

from owllook.

aff2018 avatar aff2018 commented on August 18, 2024

谢谢,能运行了,不过浏览器进行浏览时:
Internal Server Error
The server encountered an internal error and cannot complete your request.

from owllook.

howie6879 avatar howie6879 commented on August 18, 2024

那你要看日志报什么错了

from owllook.

howie6879 avatar howie6879 commented on August 18, 2024

因该是你的redis和mongodb地址不对 docker里面用不了localhost 得开ip地址

from owllook.

aff2018 avatar aff2018 commented on August 18, 2024

哦,好的,我改改,试试。
日志哪里看?

from owllook.

aff2018 avatar aff2018 commented on August 18, 2024

还是没成。依然
Internal Server Error
The server encountered an internal error and cannot complete your request.
强烈希望大佬能把这些都封到一个docker里。
别说让我自己来封,不会,哈

from owllook.

howie6879 avatar howie6879 commented on August 18, 2024

不会的话 那你就试试不用docker 直接下拉代码调试运行

from owllook.

aff2018 avatar aff2018 commented on August 18, 2024

用这个吗?感觉没有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.

howie6879 avatar howie6879 commented on August 18, 2024

解决了么 不清楚看FAQ部分

from owllook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.