feat: update web ui, docker make commands, and related docs/config

This commit is contained in:
liumangmang
2026-04-09 11:56:19 +08:00
parent 51be434f2a
commit 4ac755a7fe
27 changed files with 2718 additions and 507 deletions

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
.PHONY: up down status
COMPOSE_CMD := $(shell if command -v docker >/dev/null 2>&1 && docker compose version >/dev/null 2>&1; then echo "docker compose"; elif command -v docker-compose >/dev/null 2>&1; then echo "docker-compose"; fi)
up:
@if [ -z "$(COMPOSE_CMD)" ]; then echo "docker compose/docker-compose not found"; exit 1; fi
@$(COMPOSE_CMD) up -d --build
@echo "Application is starting at http://localhost:18088"
down:
@if [ -z "$(COMPOSE_CMD)" ]; then echo "docker compose/docker-compose not found"; exit 1; fi
@$(COMPOSE_CMD) down
status:
@if [ -z "$(COMPOSE_CMD)" ]; then echo "docker compose/docker-compose not found"; exit 1; fi
@$(COMPOSE_CMD) ps
@echo "Access URL: http://localhost:18088"