
baserow/backend本镜像仅运行 Baserow 后端服务,专为高级用户设计。若需简化部署流程,建议使用 baserow/baserow 全功能镜像。
有关详细部署指南,请参考官方文档:使用独立镜像安装。
X.Y.Z:按 Baserow 版本号标记latest:最新稳定版develop-latest:开发分支的前沿版本,使用风险自负bashdocker run -d \ --name baserow-backend \ -p 8000:8000 \ -e SECRET_KEY="your-secure-secret-key" \ -e DATABASE_URL="postgresql://user:password@postgres:5432/baserow" \ -e ALLOWED_HOSTS="localhost,127.0.0.1" \ baserow/backend:latest
yamlversion: '3.8' services: postgres: image: postgres:13 environment: POSTGRES_USER: baserow POSTGRES_PASSWORD: securepassword POSTGRES_DB: baserow volumes: - postgres_data:/var/lib/postgresql/data restart: unless-stopped baserow-backend: image: baserow/backend:latest depends_on: - postgres environment: SECRET_KEY: "your-secure-secret-key" # 建议使用随机生成的32位以上字符串 DATABASE_URL: "postgresql://baserow:securepassword@postgres:5432/baserow" ALLOWED_HOSTS: "localhost,127.0.0.1,your-domain.com" DEBUG: "false" # 生产环境禁用调试模式 ports: - "8000:8000" restart: unless-stopped volumes: postgres_data:
| 环境变量 | 说明 | 必填 | 默认值 |
|---|---|---|---|
SECRET_KEY | Django 应用密钥,用于加密会话和数据,建议使用随机32位以上字符串 | 是 | - |
DATABASE_URL | PostgreSQL 数据库连接 URL,格式:postgresql://user:pass@host:port/db | 是 | - |
ALLOWED_HOSTS | 允许访问后端服务的主机名列表,逗号分隔 | 否 | localhost,127.0.0.1 |
DEBUG | 是否启用调试模式(生产环境必须设为 false) | 否 | false |
PORT | 后端服务监听端口 | 否 | 8000 |
CORS_ALLOWED_ORIGINS | 允许跨域请求的源,逗号分隔,如 [***] | 否 | - |
baserow/web-frontend)使用以提供完整功能develop-latest 标签为开发分支镜像,可能包含未稳定功能,不建议用于生产环境Started server on 0.0.0.0:8000)

manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务