Skip to content

Commit 61f1bf1

Browse files
feat: update README
1 parent 2d6f7c7 commit 61f1bf1

File tree

3 files changed

+68
-4
lines changed

3 files changed

+68
-4
lines changed

README.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,33 @@
1-
# runtime
2-
1Panel 运行环境基础镜像
1+
[English](README.md) | [中文](README_zh.md)
2+
3+
# 1Panel Runtime Images
4+
5+
This repository contains runtime images used by 1Panel.
6+
7+
Current images in this repository:
8+
9+
- `1panel/openclaw`
10+
- `1panel/node`
11+
- `1panel/php`
12+
13+
## OpenClaw
14+
15+
`1panel/openclaw` is built from the official OpenClaw source with a small set of 1Panel-oriented customizations.
16+
17+
Key points:
18+
19+
1. It follows official OpenClaw releases and builds from upstream tags
20+
2. It integrates `Caddy` by default to provide HTTPS reverse proxy for OpenClaw
21+
3. It adds an `openclaw` command for easier startup and in-container usage
22+
23+
## Security
24+
25+
Security is one of the main considerations for `1panel/openclaw`.
26+
27+
- HTTPS is provided through bundled `Caddy` instead of exposing the web UI directly over plain HTTP
28+
- The image stays as close as practical to the upstream OpenClaw Docker behavior while keeping only the customizations needed by 1Panel
29+
30+
## Other Images
31+
32+
- `1panel/node`: Node.js runtime image
33+
- `1panel/php`: PHP-FPM runtime images for multiple versions

README_zh.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
[English](README.md) | [中文](README_zh.md)
2+
3+
# 1Panel Runtime Images
4+
5+
本仓库用于构建和发布 1Panel 使用的运行时镜像。
6+
7+
当前仓库主要维护以下镜像:
8+
9+
- `1panel/openclaw`
10+
- `1panel/node`
11+
- `1panel/php`
12+
13+
## OpenClaw
14+
15+
`1panel/openclaw` 基于 OpenClaw 官方源码构建,并做了少量面向 1Panel 场景的定制。
16+
17+
主要特点:
18+
19+
1. 跟随 OpenClaw 官方版本发布节奏,按 tag 拉取上游源码进行构建
20+
2. 默认集成 `Caddy`,用于为 OpenClaw 提供 HTTPS 反向代理能力
21+
3. 增加 `openclaw` 命令,便于在容器中直接使用 OpenClaw 启动入口
22+
23+
## 安全性
24+
25+
`1panel/openclaw` 的一个重点是安全性。
26+
27+
- 默认通过集成的 `Caddy` 提供 HTTPS 访问入口,避免直接以明文 HTTP 暴露 Web 界面
28+
- 在满足 1Panel 需求的前提下,尽量保持与 OpenClaw 上游 Docker 行为接近
29+
30+
## 其他镜像
31+
32+
- `1panel/node`:Node.js 运行环境镜像
33+
- `1panel/php`:多个版本的 PHP-FPM 运行环境镜像

openclaw/Caddyfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
admin off
33
auto_https disable_redirects
4-
default_sni {$CADDY_SITE_ADDRESS}
4+
default_sni 127.0.0.1
55
skip_install_trust
66
storage file_system {
77
root /data/caddy
88
}
99
}
1010

11-
https://{$CADDY_SITE_ADDRESS}:{$CADDY_HTTPS_PORT} {
11+
https://127.0.0.1:8443 {
1212
bind 0.0.0.0
1313
tls internal
1414
reverse_proxy 127.0.0.1:18789

0 commit comments

Comments
 (0)