Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- "./data/podcasts:/podcasts"
- "./data/config:/config"
- "./data/metadata:/metadata"
image: advplyr/audiobookshelf:2.17.1
image: advplyr/audiobookshelf:2.17.2
labels:
createdBy: "Apps"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个代码片段主要是一个 Docker 镜像名称和标签的应用配置。从当前时间到分析的时间点(2023 年),没有发现明确的问题或需要修改的部分。所有提供的服务路径都指向了有效的目录或文件夹位置。

然而,为使该容器更易于理解和维护,可以考虑添加一些默认参数:

  • 每个“labels”属性值后面应紧跟空格。
  • “CreatedBy”: 值应该在单引号中表示,以防止解析错误的尝试将 "Apps" 解析为一个变量名。

这是更改后的示例:

services:
  - "./data/podcasts:/podcasts"
  - "./data/config:/config"
  - "./data/metadata:/metadata"

image: advplyr/audiobookshelf:2.17.2

labels:  
  CreatedBy: "Apps"

Expand Down