带有搜索引擎的轻量级web文档存储库
Dokang的Python项目详细描述
创建并运行自己的Docker映像
创建自己的图像:
$ docker build -t dokang .
运行图像:
$ docker run --rm -e DOKANG_UPLOAD_TOKEN=my_little_secret \ -e DOKANG_NAME='My docs'\ -e DOKANG_DESCRIPTION='Documentations of all my projects'\ -e DOKANG_SERVER_TRUSTED_PROXY=129.14.12.1 # Optional: the IP address of the proxy to pass to waitress server's trusted_proxy -p 8080:6543 dokang
转到浏览器中的http://localhost:8080/" rel="nofollow">http://localhost:8080/,您将看到文档列表。