mirror of
https://github.com/Evil0ctal/Douyin_TikTok_Download_API.git
synced 2025-04-04 23:59:17 +08:00
Update docker-compose.yml
修正映射路径,容器内部的workdir是/app
This commit is contained in:
parent
9fd80d8819
commit
10f703873f
@ -7,11 +7,11 @@ services: # 定义服务列表
|
||||
container_name: douyin_tiktok_download_api # 容器名称
|
||||
restart: always # 容器退出后总是重启
|
||||
volumes: # 挂载卷配置
|
||||
- ./douyin_tiktok_download_api/douyin_web/config.yaml:/crawlers/douyin/web/config.yaml
|
||||
- ./douyin_tiktok_download_api/tiktok_web/config.yaml:/crawlers/tiktok/web/config.yaml
|
||||
- ./douyin_tiktok_download_api/tiktok_app/config.yaml:/crawlers/tiktok/app/config.yaml
|
||||
- ./douyin_tiktok_download_api/douyin_web/config.yaml:/app/crawlers/douyin/web/config.yaml
|
||||
- ./douyin_tiktok_download_api/tiktok_web/config.yaml:/app/crawlers/tiktok/web/config.yaml
|
||||
- ./douyin_tiktok_download_api/tiktok_app/config.yaml:/app/crawlers/tiktok/app/config.yaml
|
||||
environment: # 环境变量配置
|
||||
TZ: Asia/Shanghai # 设置时区为亚洲/上海
|
||||
PUID: 1026 # 设置容器内部的用户 ID
|
||||
PGID: 100 # 设置容器内部的用户组 ID
|
||||
privileged: true # 设置特权模式以便容器内部可以执行特权操作
|
||||
privileged: true # 设置特权模式以便容器内部可以执行特权操作
|
||||
|
Loading…
Reference in New Issue
Block a user