Operations 8 min read

Automate Spring Boot & Vue E‑Commerce Deployment with Jpom and Docker

Learn how to use the lightweight Jpom automation tool to set up Docker‑based CI/CD pipelines, configure repositories, build and package a Spring Boot 3 + Vue e‑commerce project, and deploy both backend and frontend services seamlessly on a Kubernetes‑ready environment.

macrozheng
macrozheng
macrozheng
Automate Spring Boot & Vue E‑Commerce Deployment with Jpom and Docker
In development or production environments, manually logging into servers to run deployment commands is cumbersome and error‑prone; an automated deployment solution like Jpom simplifies the process and reduces mistakes.

Jpom Introduction

Jpom is a lightweight automation deployment tool with over

8.5k+ stars

on Gitee. It provides online builds, automatic deployment, routine operations, and project monitoring.

Mall Project Overview

The mall project is a SpringBoot3 + Vue e‑commerce system (60K GitHub stars) that supports multiple modules and the latest 2024 microservice architecture, deployed with Docker and Kubernetes. It includes a front‑end shop and a back‑end admin system covering products, orders, carts, permissions, coupons, members, payments, and more.

Installation

Jpom is most conveniently installed via Docker.

Download the Jpom image:

<code>docker pull jpomdocker/jpom</code>

Start the container:

<code>docker run -p 2122:2122 --name jpom-server \
  -v /mydata/jpom-server/logs:/usr/local/jpom-server/logs \
  -v /mydata/jpom-server/data:/usr/local/jpom-server/data \
  -v /mydata/jpom-server/conf:/usr/local/jpom-server/conf \
  -d jpomdocker/jpom</code>

After the container starts, Jpom runs on port

2122

. Access the console at http://192.168.3.101:2122 and create a super‑admin account.

Automated Deployment

The following steps demonstrate Jpom’s automated deployment using the mall project as an example.

Preparation

Define the deployment flow:

From Gitee repo → Maven build → Docker image → SSH script execution

Add the repository URL

https://gitee.com/macrozheng/mall

to Jpom.

Add a Docker environment with remote API access enabled.

Set the workspace to the default value.

Add an SSH configuration and set the authorized directory to

/mydata

.

Project Build

In the build list, create a container build and tag it as

local

.

Configure the repository address for the mall project.

Set the build script for the

mall-admin

module; the artifact will be placed at

/mall-admin/target/mall-admin-1.0-SNAPSHOT.jar

.

Configure the release step to use SSH and execute the script

/mydata/sh/mall-admin.sh

to start the

mall-admin

container.

The startup script for the mall project resides in the

document/sh

directory.

Summary

Today we used Jpom to automate the deployment of the mall project, demonstrating that Jpom is easier for Chinese developers than Jenkins while offering powerful features.

DockerCI/CDAutomationKubernetesSpring BootVueJpom
macrozheng
Written by

macrozheng

Dedicated to Java tech sharing and dissecting top open-source projects. Topics include Spring Boot, Spring Cloud, Docker, Kubernetes and more. Author’s GitHub project “mall” has 50K+ stars.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.