Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 13, 2024

This PR contains the following updates:

Package Update Change
1dev/server patch 11.5.1 -> 11.5.2

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Nov 13, 2024

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Nov 13, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

image: 1dev/server:11.5.2
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.

该部分的代码在2017年发布时存在格式错误:应使用大括号将内容包围。另外,在创建容器名称为${CONTAINER_NAME}之前需要先定义一个环境变量,并且确保你的服务映像正确版本(这里应该是11.5.2)。这样可能有助于避免未来潜在的问题。

修复后的代码如下:

services:
  onedev:
    image: onedev/onedev-server:<version>
    container_name: one-dev-${VERSION}
    restart: always
    networks:

其中:

  • < version>表示映射到服务器运行的服务版本。
  • one-dev-${VERSION}替换原有的<container_name>,用于设置不同的名字以便区分,同时保持原名作为默认值。
  • <version>应该被替换成实际使用的服务器版本。

@wanghe-fit2cloud wanghe-fit2cloud merged commit bdba01c into dev Nov 13, 2024
@wanghe-fit2cloud wanghe-fit2cloud deleted the renovate/1dev-server-11.x branch November 13, 2024 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants