astronomerinc/ap-houston-apiAstronomer Command Control GraphQL API 是 Astronomer 平台的核心组件,提供统一的 GraphQL 接口用于平台的命令与控制操作。该镜像作为平台管理的核心入口,支持对 Astronomer 平台资源的查询、配置与控制。
bashdocker run -d \ --name astronomer-command-control-api \ -p 8080:8080 \ -e DATABASE_URL=postgresql://user:password@db-host:5432/command_control \ -e AUTH_JWT_SECRET=your-secure-jwt-secret \ -e LOG_LEVEL=info \ astronomer/command-control-api:latest
yamlversion: '3.8' services: command-control-api: image: astronomer/command-control-api:latest container_name: astronomer-cc-api ports: - "8080:8080" environment: - PORT=8080 - DATABASE_URL=postgresql://user:password@postgres:5432/command_control - AUTH_JWT_SECRET=${JWT_SECRET} - LOG_LEVEL=info - CORS_ALLOWED_ORIGINS=https://your-ui-domain.com depends_on: - postgres restart: unless-stopped postgres: image: postgres:14-alpine environment: - POSTGRES_USER=user - POSTGRES_PASSWORD=password - POSTGRES_DB=command_control volumes: - postgres-data:/var/lib/postgresql/data volumes: postgres-data:
| 环境变量名 | 描述 | 默认值 | 必要性 |
|---|---|---|---|
PORT | API 服务监听端口 | 8080 | 可选 |
DATABASE_URL | PostgreSQL 数据库连接 URL | 无 | 必选 |
AUTH_JWT_SECRET | JWT 认证密钥 | 无 | 必选 |
LOG_LEVEL | 日志级别(debug/info/warn/error) | info | 可选 |
CORS_ALLOWED_ORIGINS | 允许的跨域请求源(逗号分隔) | * | 可选 |
PLATFORM_VERSION | 兼容的 Astronomer 平台版本 | 无 | 建议指定 |
服务内置健康检查端点,可通过 http://<container-ip>:8080/health 访问,返回 200 OK 表示服务正常运行。
服务依赖外部 PostgreSQL 数据库存储核心数据,需确保数据库服务稳定运行并配置持久化存储(如示例中通过 Docker volume 挂载)。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务