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
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
metabase:
image: metabase/metabase:v0.51.2
image: metabase/metabase:v0.51.3
container_name: ${CONTAINER_NAME}
ports:
- ${PANEL_APP_PORT_HTTP}:3000

Choose a reason for hiding this comment

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

代码没有明显的不合规或问题,但是可以进行一些小的优化。

  1. 需要使用引号避免拼写错误。
  2. 双斜杠不能用于路径分隔符(-不是可识别字符)。
  3. 保持服务名统一。如果可能的话,将所有的服务名称更改为Metabase,并且在容器名字中包含"metabase"以保持一致性.

示例:services:[
"metabase",
]

这个是简单的例子。具体的命名规则最好参考对应的社区文档。

Expand Down