mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-10-28 01:03:50 +08:00
feat(release): publish standalone repository and Docker Hub images
This commit is contained in:
1 parent
714b00cccb
commit
dfef372b64
8 files changed
+149
-42
No files matched your search
+2
-1
@@ -33,6 +33,7 @@ ensure_docker(){
|
||||
# ── ① 全部 Docker ───────────────────────────────
|
||||
install_docker(){
|
||||
ensure_docker
|
||||
umask 077
|
||||
if [ ! -f .env ]; then
|
||||
cp .env.example .env 2>/dev/null || true
|
||||
local pw key
|
||||
@@ -46,7 +47,7 @@ install_docker(){
|
||||
info "沿用已存在的 .env"
|
||||
fi
|
||||
info "拉取镜像并启动…"
|
||||
docker compose pull || true
|
||||
docker compose pull
|
||||
docker compose up -d
|
||||
ok "启动完成 → http://localhost:8787"
|
||||
info "查看日志:docker compose logs -f artex"
|
||||
|
||||
Reference in new issue
Block a user