!Fisheye
跨CVS、SVN、Git、Mercurial和Perforce仓库进行搜索、监控和跟踪。
!Crucible
通过同行代码审查发现缺陷并提高代码质量。
本Docker容器可轻松启动和运行Fisheye或Crucible实例。
注:示例中将以Fisheye为例进行说明。
运行以下命令启动Fisheye容器:
bashdocker run -d -p 8080:8080 atlassian/fisheye
应用将在 http://localhost:8080 上可用,配置向导将引导您完成初始设置。
以下是一个基本的docker-compose配置文件示例:
yamlversion: '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' - 'FECRU_CONFIGURE_LICENSE_CRUCIBLE=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' # 管理员密码 - 'FECRU_CONFIGURE_ADMIN_PASSWORD=password' # 数据库配置 - 'FECRU_CONFIGURE_DB_TYPE=postgresql' - 'FECRU_CONFIGURE_DB_HOST=db' - 'FECRU_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,需设置:FISHEYE_OPTS=-Dfecru.configure.from.env.variables=true,然后使用以下环境变量:
| 环境变量 | 描述 |
|---|---|
FECRU_CONFIGURE_LICENSE_FISHEYE | Fisheye许可证密钥 |
FECRU_CONFIGURE_LICENSE_CRUCIBLE | Crucible许可证密钥 |
FECRU_CONFIGURE_ADMIN_PASSWORD | 管理员账户密码 |
FECRU_CONFIGURE_DB_TYPE | 数据库类型 |
FECRU_CONFIGURE_DB_HOST | 数据库主机地址 |
FECRU_CONFIGURE_DB_PORT | 数据库端口 |
FECRU_CONFIGURE_DB_NAME | 数据库名称 |
FECRU_CONFIGURE_DB_USER | 数据库用户名 |
FECRU_CONFIGURE_DB_PASSWORD | 数据库密码 |
FECRU_CONFIGURE_DB_MIN_POOL_SIZE | 数据库连接池最小连接数 |
FECRU_CONFIGURE_DB_MAX_POOL_SIZE | 数据库连接池最大连接数 |
数据卷挂载
您可以使用以下命令挂载Fisheye实例目录:
bash-v /my_instance_folder:/atlassian/data/fisheye
如果使用Crucible镜像,则挂载路径为:
bash-v /my_instance_folder:/atlassian/data/crucible
数据库驱动配置
由于许可限制,Fisheye不随附MySQL或Oracle JDBC驱动程序。如需使用这些数据库,需将合适的驱动程序复制到容器中并重启。例如,要将MySQL驱动复制到名为"fisheye"的容器中:
bashdocker 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。
您也可以使用特定版本的标签:
atlassian/fisheye:4、atlassian/fisheye:4.8、atlassian/fisheye:4.8.3atlassian/crucible:4、atlassian/crucible:4.8、atlassian/crucible:4.8.3所有4.8.3及更高版本均可用。
产品支持请访问:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务