Overview
- Full name
docker.io/openspug/spug-service- Registry
- docker.io
- Namespace
- openspug
- Repository
- spug-service
- Cached tags
- 2
- Last synced
- 07/05/2026, 10:13 PM
Introduction
Spug 运维平台后端 API 镜像,主机管理/批量执行/发布流水线,需 spug-web 前端与 MySQL。
Details
openspug/spug-service 运行 Spug 开源运维管理平台后端 API,提供主机管理、批量命令执行、应用发布流水线与定时任务调度。定位为 DevOps 运维 API 后端,需 spug-web 前端与 MySQL/Redis;K8s Deployment 内网运维平台。
快速启动
docker run -d --name spug-service \
-p 8000:8000 \
-e MYSQL_HOST=mysql \
-e MYSQL_PASSWORD=changeme \
docker.io/openspug/spug-service:latest
推荐实践
docker run -d --name spug-service \
--restart unless-stopped \
-p 8000:8000 \
-e MYSQL_HOST=mysql.internal \
-e MYSQL_PASSWORD=changeme \
-e REDIS_HOST=redis.internal \
docker.io/openspug/spug-service:3.2.0
核心参数说明
-p 8000:8000— Spug REST API-e MYSQL_*— MySQL 元数据库(高敏)-e REDIS_HOST— Redis 缓存/队列- 功能 — 主机/发布/定时任务
Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
name: spug-service
spec:
replicas: 1
selector:
matchLabels:
app: spug-service
template:
metadata:
labels:
app: spug-service
spec:
containers:
- name: api
image: docker.io/openspug/spug-service:3.2.0
ports:
- containerPort: 8000
envFrom:
- secretRef:
name: spug-env
---
apiVersion: v1
kind: Service
metadata:
name: spug-service
spec:
selector:
app: spug-service
ports:
- port: 8000
targetPort: 8000
spug-web 独立 Deployment;Ingress 统一运维入口。
Latest tags (20)
View all 2 tags →| Tag | Arch | Pushed At | Size | Digest | Sync | Wish | Action |
|---|---|---|---|---|---|---|---|
docker.io/openspug/spug-service :latest | linux/amd64 | 2024/11/07 16:52 | 237.9 MB | sha256:8361d306cae8… | |||
docker.io/openspug/spug-service :ubuntu2204 | linux/amd64 | 2024/08/13 20:15 | 234.9 MB | sha256:d5a7806335fd… |