refactor!: rename the project from Monitor to MoShiro

Namespaces, assemblies, projects and directories, the solution, binaries,
images, systemd units, config paths, environment variables, protocol method
names, the media type and the raw chunk magic all move to MoShiro/moshiro.
Existing data and deployments are not compatible and must be recreated.
Also fix the architecture tests after the solution layout change and make
the update tests independent of their order.
This commit is contained in:
justme committed 2026-10-07 01:49:04 +08:00
1 parent 17b35223aa
commit 83e5120377
309 files changed
+1505 -1499

No files matched your search

+6 -6
View File
@@ -3,15 +3,15 @@
# 首次注册、配置导入和自动更新见 docs/deployment.md。
services:
agent:
image: ${MONITOR_IMAGE:-registry.oeo.one/monitor/monitor-agent}:${MONITOR_VERSION:-0.1.1}
container_name: monitor-agent
image: ${MOSHIRO_IMAGE:-registry.oeo.one/moshiro/moshiro-agent}:${MOSHIRO_VERSION:-0.1.1}
container_name: moshiro-agent
restart: unless-stopped
init: true
# Probe 要直连 Agent 的 7443(TCP+UDP)和 7444(TCP),用宿主网络,不做端口映射
network_mode: host
volumes:
- agent-config:/etc/monitor
- agent-status:/etc/monitor/update-status:ro
- agent-config:/etc/moshiro
- agent-status:/etc/moshiro/update-status:ro
- /etc/os-release:/etc/os-release:ro
# 系统目录只读,不加 :z/:Z;SELinux 隔离在容器级别禁用。
- /proc:/host/proc:ro
@@ -36,6 +36,6 @@ services:
volumes:
agent-config:
name: monitor-agent-config
name: moshiro-agent-config
agent-status:
name: monitor-agent-status
name: moshiro-agent-status
+4 -4
View File
@@ -1,15 +1,15 @@
# Docker / Podman 共用,数据库和原始数据保存在命名 volume 中。
services:
backend:
image: ${MONITOR_IMAGE:-registry.oeo.one/monitor/monitor-backend}:${MONITOR_VERSION:-0.1.1}
container_name: monitor-backend
image: ${MOSHIRO_IMAGE:-registry.oeo.one/moshiro/moshiro-backend}:${MOSHIRO_VERSION:-0.1.1}
container_name: moshiro-backend
restart: unless-stopped
ports:
- "127.0.0.1:8080:8080"
environment:
Monitor__InitialAdminPassword: ${MONITOR_INITIAL_ADMIN_PASSWORD:?Set MONITOR_INITIAL_ADMIN_PASSWORD}
MoShiro__InitialAdminPassword: ${MOSHIRO_INITIAL_ADMIN_PASSWORD:?Set MOSHIRO_INITIAL_ADMIN_PASSWORD}
volumes:
- backend-data:/data
volumes:
backend-data:
name: monitor-backend-data
name: moshiro-backend-data
+6 -6
View File
@@ -3,14 +3,14 @@
# 首次注册、配置导入和自动更新见 docs/deployment.md。
services:
probe:
image: ${MONITOR_IMAGE:-registry.oeo.one/monitor/monitor-probe}:${MONITOR_VERSION:-0.1.1}
container_name: monitor-probe
image: ${MOSHIRO_IMAGE:-registry.oeo.one/moshiro/moshiro-probe}:${MOSHIRO_VERSION:-0.1.1}
container_name: moshiro-probe
restart: unless-stopped
init: true
network_mode: host
volumes:
- probe-config:/etc/monitor
- probe-status:/etc/monitor/update-status:ro
- probe-config:/etc/moshiro
- probe-status:/etc/moshiro/update-status:ro
- /etc/os-release:/etc/os-release:ro
read_only: true
tmpfs:
@@ -27,6 +27,6 @@ services:
volumes:
probe-config:
name: monitor-probe-config
name: moshiro-probe-config
probe-status:
name: monitor-probe-status
name: moshiro-probe-status