atlassian/fisheye跨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 xxxxxxxxxxxxxxxxxxxxxxx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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实例目录:
-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及以上版本均可用。
如需产品支持,请访问:
manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务