We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 部署情况下如何更处理 Cookie问题,你打包的镜像是否提供了以环境变量形式传入 Cookie 的功能,还是说我需要clone 仓库源码,更改配置文件中的 Cookie 后重新打包镜像部署呢?
The text was updated successfully, but these errors were encountered:
参考这个issue:
#450 (comment)
Sorry, something went wrong.
docker run -d --name douyin_tiktok_api -p 80:80 \ -v $PWD/Douyin_TikTok_Download/data:/data \ -v $PWD/Douyin_TikTok_Download/douyin/web/config.yaml:/app/crawlers/douyin/web/config.yaml \ -v $PWD/Douyin_TikTok_Download/tiktok/web/config.yaml:/app/crawlers/tiktok/web/config.yaml \ -v $PWD/Douyin_TikTok_Download/tiktok/app/config.yaml:/app/crawlers/tiktok/app/config.yaml \ -v $PWD/Douyin_TikTok_Download/bilibili/web/config.yaml:/app/crawlers/bilibili/web/config.yaml \ -e MY_ENV_VAR=my_value \ evil0ctal/douyin_tiktok_download_api
我是这么弄的。要先在主机里创建好config.yaml文件 不然直接运行命令config.yaml文件就会变成文件夹了。
docker run -d --name douyin_tiktok_api -p 8082:80 \ -v $PWD/Douyin_TikTok_Download/data:/data \ -v $PWD/Douyin_TikTok_Download/download:/app/download \ -v $PWD/Douyin_TikTok_Download/config.yaml:/app/config.yaml \ -v $PWD/Douyin_TikTok_Download/douyin-web-config.yaml:/app/crawlers/douyin/web/config.yaml \ -v $PWD/Douyin_TikTok_Download/tiktok-web-config.yaml:/app/crawlers/tiktok/web/config.yaml \ -v $PWD/Douyin_TikTok_Download/tiktok-app-config.yaml:/app/crawlers/tiktok/app/config.yaml \ -v $PWD/Douyin_TikTok_Download/bilibili-web-config.yaml:/app/crawlers/bilibili/web/config.yaml \ -e MY_ENV_VAR=my_value \ evil0ctal/douyin_tiktok_download_api
还是这样舒服一点。配置文件都放一个文件下。
嗯嗯,最近忙着投简历,晚些时候我会使用数据库代替当前的config文件。
Evil0ctal
No branches or pull requests
大佬您好我想咨询下关于 Docker 部署情况下如何更处理 Cookie问题,你打包的镜像是否提供了以环境变量形式传入 Cookie 的功能,还是说我需要clone 仓库源码,更改配置文件中的 Cookie 后重新打包镜像部署呢?
The text was updated successfully, but these errors were encountered: