Sign inSign up

niushuai/opencode-manager

By niushuai

•Updated 5 months ago

Image
1

4.6K

niushuai/opencode-manager repository overview

Please use the official image repository.

docker pull ghcr.io/chriswritescode-dev/opencode-manager:0.10.1

This is a mirror from the official mirror repository. Please refer to the following instructions.

mkdir opencode-manager
cd opencode-manager
wget https://github.com/chriswritescode-dev/opencode-manager/raw/refs/heads/main/.env.example -O .env
  • AUTH_SECRET, REQUIRED, The value you must modify, which can be generated using the command openssl rand -base64 32.
  • ADMIN_EMAIL / ADMIN_PASSWORD, Optional, For single-user usage.
  • AUTH_TRUSTED_ORIGINS, Optional, If public network access is required.
wget https://github.com/chriswritescode-dev/opencode-manager/raw/refs/heads/main/docker-compose.yml -O docker-compose.yml
  • You need to remove service -> app -> build and its child properties
  • Then add image: niushuai/opencode-manager:latest

The modified version will look like this:

services:
  app:
    # The build attribute has been removed
    image: niushuai/opencode-manager:latest
    container_name: opencode-manager
    ports:
      - "5003:5003"
...more...
docker compose up -d

Access http://localhost:5003⁠ in your browser.

⁠For Chinese:

这是基于官方源码构建的镜像,参考下面的说明。

mkdir opencode-manager
cd opencode-manager
wget https://github.com/chriswritescode-dev/opencode-manager/raw/refs/heads/main/.env.example -O .env

  • AUTH_SECRET,必须的, 可以使用这个命令 openssl rand -base64 32 命令生成。
  • ADMIN_EMAIL和ADMIN_PASSWORD 可选,如果是一个人使用需要修改。
  • AUTH_TRUSTED_ORIGINS, 可选, 如果需要公网访问,可能需要配置
wget https://github.com/chriswritescode-dev/opencode-manager/raw/refs/heads/main/docker-compose.yml -O docker-compose.yml
  • 需要删除 service -> app -> build 以及它的子属性
  • 然后添加 image: niushuai/opencode-manager:latest

修改后会是这样:

services:
  app:
    # build属性删除了
    image: niushuai/opencode-manager:latest
    container_name: opencode-manager
    ports:
      - "5003:5003"
...more...
docker compose up -d

在浏览器里访问 http://localhost:5003⁠

Tag summary

Content type

Image

Digest

sha256:b8efef424…

Size

642.6 MB

Last updated

5 months ago

docker pull niushuai/opencode-manager