Skip to content
Merged
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion apps/stirling-pdf/0.33.0/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
stirling-pdf:
image: frooodle/s-pdf:0.33.0
image: frooodle/s-pdf:0.33.1
container_name: ${CONTAINER_NAME}
restart: always
networks:

Choose a reason for hiding this comment

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

上述代码的差异主要是版本号和更新信息,以及容器名称(${CONTAINER_NAME})。没有发现显著的问题。

对于优化意见:

  1. 更改image:部分为更简洁的形式。
  2. 使用变量来避免重复使用大括号中的变量会带来更多的冗余。

修改后的代码示例(仅作为一个示例,请根据实际情况调整):

services:
  stiring-pdf:
    image: "frooodle/s-pdf:v0.33.1"

请注意,此变更需要结合上下文理解。如果有其他需求或问题,欢迎进一步提问!

Expand Down