跨CVS、SVN、Git、Mercurial和Perforce仓库进行搜索、监控和跟踪。
通过同行代码审查发现错误并提高代码质量。
此Docker容器可轻松启动和运行Fisheye或Crucible实例。注意:示例中将以Fisheye为例进行说明。
运行以下命令:
docker run -d -p 8080:8080 atlassian/fisheye
应用将在http://localhost:8080可用,配置向导将引导您完成设置。
要通过环境变量配置Fisheye,需设置:FISHEYE_OPTS=-Dfecru.configure.from.env.variables=true,并使用以下变量:
FECRU_CONFIGURE_LICENSE_FISHEYEFECRU_CONFIGURE_LICENSE_CRUCIBLEFECRU_CONFIGURE_ADMIN_PASSWORDFECRU_CONFIGURE_DB_TYPEFECRU_CONFIGURE_DB_HOSTFECRU_CONFIGURE_DB_PORTFECRU_CONFIGURE_DB_NAMEFECRU_CONFIGURE_DB_USERFECRU_CONFIGURE_DB_PASSWORDFECRU_CONFIGURE_DB_MIN_POOL_SIZEFECRU_CONFIGURE_DB_MAX_POOL_SIZE一个最小化的compose文件示例如下:
version: '2' services: fecru: image: atlassian/fisheye:4.8.3 ports: - "8080:8080" environment: - 'FISHEYE_OPTS=-Dfecru.configure.from.env.variables=true' # 许可证 - 'FECRU_CONFIGURE_LICENSE_FISHEYE=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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_CONFIGURE_DB_PORT=5432' - 'FECRU_CONFIGURE_DB_USER=postgres' - 'FECRU_CONFIGURE_DB_PASSWORD=password' db: image: postgres:11 ports: - "5432:5432" environment: - "POSTGRES_USER=postgres" - "POSTGRES_PASSWORD=password"
您还可以使用以下标志挂载Fisheye实例目录:
-v /my_instance_folder:/atlassian/data/fisheye
(如果使用Crucible镜像,则为atlassian/data/crucible)。
注意:由于许可限制,Fisheye不随附MySQL或Oracle JDBC驱动程序。要使用这些数据库,您需要将合适的驱动程序复制到容器中并重启。例如,要将MySQL驱动程序复制到名为“fisheye”的容器中,可执行以下命令:
docker cp mysql-connector-java.x.y.z.jar fisheye:/atlassian/data/fisheye/lib/ docker restart fisheye
(对应Crucible则为/atlassian/data/crucible/lib/)
latest标签对应Atlassian Fisheye或Crucible的最新版本。因此,atlassian/fisheye:latest将使用最新版本的Fisheye。
您也可以使用特定的主版本、主.次版本或主.次.补丁版本标签来指定Fisheye版本:
所有4.8.3及以上版本均可用。
如需产品支持,请访问:
来自真实用户的反馈,见证轩辕镜像的优质服务
免费版仅支持 Docker Hub 加速,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
免费版仅支持 docker.io;专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
在 Linux 系统配置镜像加速服务
在 Docker Desktop 配置镜像加速
Docker Compose 项目配置加速
Kubernetes 集群配置 Containerd
在宝塔面板一键配置镜像加速
Synology 群晖 NAS 配置加速
飞牛 fnOS 系统配置镜像加速
极空间 NAS 系统配置加速服务
爱快 iKuai 路由系统配置加速
绿联 NAS 系统配置镜像加速
QNAP 威联通 NAS 配置加速
Podman 容器引擎配置加速
HPC 科学计算容器配置加速
ghcr、Quay、nvcr 等镜像仓库
无需登录使用专属域名加速
需要其他帮助?请查看我们的 常见问题 或 官方QQ群: 13763429