This repository now keeps two local packaging paths side by side:
3.3.2 + MySQL: upstreamxuxueli/xxl-job2.3.0-pg + PostgreSQL: forkss22219/xxl-job-postgres-2.3.0
Both paths build locally on Apple Silicon and can also be published as multi-architecture images.
Prepare env:
cp .env.example .envBuild and start:
docker compose up -d --buildCheck services:
docker compose ps
docker compose logs xxl-admin --tail=100Open:
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 .Prepare env:
cp .env.pg.example .env.pgBuild and start:
docker compose -f docker-compose.pg.yml --env-file .env.pg up -d --buildCheck 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=100Open:
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 .- Login:
admin / 123456 - Executor access token:
default_token
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>.