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

+4 -4
View File
@@ -1,20 +1,20 @@
FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-alpine
ARG APP_VERSION=unknown
LABEL org.opencontainers.image.title="Monitor Backend" \
LABEL org.opencontainers.image.title="MoShiro Backend" \
org.opencontainers.image.description="Self-hosted network path quality monitoring backend" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.version="$APP_VERSION"
WORKDIR /app
COPY --chown=1654:1654 app/monitor-backend /app/monitor-backend
COPY --chown=1654:1654 app/moshiro-backend /app/moshiro-backend
COPY --chown=1654:1654 data/.keep /data/.keep
ENV ASPNETCORE_HTTP_PORTS=8080 \
Monitor__DataDirectory=/data \
MoShiro__DataDirectory=/data \
DOTNET_EnableDiagnostics=0
USER 1654:1654
VOLUME ["/data"]
EXPOSE 8080
ENTRYPOINT ["/app/monitor-backend"]
ENTRYPOINT ["/app/moshiro-backend"]