
https://github.com/opendatacube/datacube-explorer/workflows/Linting/badge.svg](https://github.com/opendatacube/datacube-explorer/actions?query=workflow%3ALinting) https://github.com/opendatacube/datacube-explorer/workflows/Tests/badge.svg](https://github.com/opendatacube/datacube-explorer/actions?query=workflow%3ATests) https://github.com/opendatacube/datacube-explorer/workflows/Docker/badge.svg](https://github.com/opendatacube/datacube-explorer/actions?query=workflow%3ADocker) https://github.com/opendatacube/datacube-explorer/workflows/Scan/badge.svg](https://github.com/opendatacube/datacube-explorer/actions?query=workflow%3AScan) 
查看更多选项:
bashcubedash-gen --help
运行服务
本地运行命令:
bashcubedash-run
使用WSGI服务器(如gunicorn):
bashpip install gunicorn gunicorn -b '127.0.0.1:8080' -w 4 cubedash:create_app()
运行前设置ODC环境变量:
bashexport ODC_ENVIRONMENT=staging
通过datacube system check验证连接的实例。详见ODC文档数据立方体配置与环境。
默认时区为Australia/Darwin,修改需配置:
CUBEDASH_SETTINGS指向.env.py文件,设置CUBEDASH_DEFAULT_TIMEZONE变量创建以下*.env.html文件:
全局脚本:在所有页面底部添加内容(如分析脚本)
cubedash/templates/include-global.env.html
页脚文本:添加版权声明等信息
bashecho "服务器 <strong>staging-1.test</strong>" > cubedash/templates/include-footer.env.html
(*.env.html文件会被Git忽略,用于环境特定定制)
CSS从Sass编译,JavaScript从TypeScript编译:
bashnpm install -g sass typescript
重建静态文件:
bashmake static # 重建所有静态文件 make style # 仅重建CSS make js # 仅重建JavaScript
cubedash/summary/roles目录包含Postgres角色SQL文件,为Explorer任务分配最小权限:
cubedash-view命令cubedash-gen)cubedash-gen --init)这些角色依赖数据立方体内置角色agdc_user(Postgres)或odc_user(PostGIS)。若数据立方体未配置权限,同一目录提供了角色创建前置脚本。
需安装Docker和Docker Compose。
bashmake up # 或 docker-compose up
创建ODC数据库:
bashmake initdb # 或 docker-compose exec explorer datacube system init
(需进一步添加产品和索引数据集)
bashmake index # 当ODC数据已索引后执行
bashmake test-docker # 运行所有测试 # 运行单个测试 docker-compose --file docker-compose.yml run explorer pytest integration_tests/test_dataset_listing.py
编辑.docker/settings_docker.py配置应用,然后启动:
bashdocker-compose -f docker-compose.yml -f docker-compose.override.yml up
STAC端点实现以下扩展(绑定到/search端点):
属性字段需使用properties.前缀(如properties.dea:dataset_maturity)。filter-crs仅支持http://www.opengis.net/def/crs/OGC/1.3/CRS84。
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。






探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 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 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务