Https://github.com/discourse/discourse_docker#labels 导致错误

GitHub - discourse/discourse_docker: A Docker image for Discourse · GitHub 上的文档需要更新。

labels:

# app.yml

labels:
  monitor: 'true'
  app_name: {{config}}_discourse

中使用 {{config}} 会导致以下错误:

(<unknown>): did not find expected key while parsing a block mapping at line 40 column 3 -e LANG=en_US.UTF-8
YAML 语法错误。请检查您的 containers/*.yml 配置文件。

当前运行版本:

#### 已安装

### 2.4.0.beta9

([eca1c643d5](https://github.com/discourse/discourse/commits/eca1c643d5da8583e7a054f83c5b68713944afa8))
1 个赞

这应通过以下方式修复:

3 个赞