Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么docker部署 #111

Open
lozn00 opened this issue Sep 11, 2023 · 7 comments
Open

怎么docker部署 #111

lozn00 opened this issue Sep 11, 2023 · 7 comments

Comments

@lozn00
Copy link

lozn00 commented Sep 11, 2023

怎么docker部署

@skywind3000
Copy link
Owner

这个又不是一个服务,怎么部署法?

@lozn00
Copy link
Author

lozn00 commented Sep 11, 2023 via email

@lozn00
Copy link
Author

lozn00 commented Sep 11, 2023

额,理论上改一下python的源码 然后整个web服务进行执行和渲染应该就可以

@lozn00
Copy link
Author

lozn00 commented Sep 12, 2023

大佬我把你的数据库实现docker部署了
image

docker push lozn/englishdictionary:lastest

docker run -p 5000:5000 -v /mnt/sdc2/db:/DBPATH lozn/englishdictionary:latest --db=/DBPATH/stardict.db

体验网址
HTTP://route.lozn.top:5000 route.lozn.top:2345

@skywind3000
Copy link
Owner

good

@iamppz
Copy link

iamppz commented Sep 27, 2023

因为自己的 App 要用到词典查询的功能,所以写了一个简单的基于 Java 的 Web API,共享到 GitHub 希望能对大家有所帮助:https://github.com/iamppz/ecdict-api

@cupen
Copy link

cupen commented Mar 6, 2024

@lozn00 部署 http 服务用途是? 建议用本地词典客户端。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants