Skip to content

link-yang-abel/xxl-job-admin

Repository files navigation

xxl-job-admin local docker setup

This repository now keeps two local packaging paths side by side:

  • 3.3.2 + MySQL: upstream xuxueli/xxl-job
  • 2.3.0-pg + PostgreSQL: fork ss22219/xxl-job-postgres-2.3.0

Both paths build locally on Apple Silicon and can also be published as multi-architecture images.

3.3.2 + MySQL

Prepare env:

cp .env.example .env

Build and start:

docker compose up -d --build

Check services:

docker compose ps
docker compose logs xxl-admin --tail=100

Open:

http://localhost:7070/xxl-job-admin/

Smoke check:

curl -I http://localhost:7070/xxl-job-admin/

Publish multi-arch image:

docker buildx build \
  --platform linux/amd64,linux/arm64 \
  --build-arg XXL_JOB_VERSION=3.3.2 \
  -t <your-registry>/xxl-job-admin:3.3.2 \
  -t <your-registry>/xxl-job-admin:latest \
  --push .

2.3.0-pg + PostgreSQL

Prepare env:

cp .env.pg.example .env.pg

Build and start:

docker compose -f docker-compose.pg.yml --env-file .env.pg up -d --build

Check services:

docker compose -f docker-compose.pg.yml --env-file .env.pg ps
docker compose -f docker-compose.pg.yml --env-file .env.pg logs xxl-admin-pg --tail=100

Open:

http://localhost:7170/xxl-job-admin/

Smoke check:

curl -I http://localhost:7170/xxl-job-admin/

Publish multi-arch image:

docker buildx build \
  --platform linux/amd64,linux/arm64 \
  --build-arg XXL_JOB_PG_REF=main \
  -f Dockerfile.pg \
  -t <your-registry>/xxl-job-admin-pg:2.3.0-pg \
  --push .

Default credentials

  • Login: admin / 123456
  • Executor access token: default_token

Executor note

If your executor runs on the macOS host and admin runs in Docker, register the executor URL as http://host.docker.internal:<port> instead of http://0.0.0.0:<port>.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors