-
Work Estimate
Task Estimated Time Update README.mdwith new Docker registry instructions10–15 minutes Add and document docker-compose.ymlfor Sztab + PostgreSQL10–15 minutes Test image pull and local docker-compose up10–15 minutes Tag a release and trigger OneDev Docker build (manual for now) 5–10 minutes Commit, push changes, and open PR in OneDev 5–10 minutes Total: ~30–45 minutes -
Artur,
I’m trying to push the corrected Sztab image to the internal Docker registry at:
tigase.dev/sztab/sztab:1.1Authentication works fine:
rksuma@Ramakrishnans-MacBook-Pro sztab % docker login tigase.dev Authenticating with existing credentials... Login Succeeded rksuma@Ramakrishnans-MacBook-Pro sztab %but the push fails:
rksuma@Ramakrishnans-MacBook-Pro sztab % docker push tigase.dev/sztab/sztab:1.1 The push refers to repository [tigase.dev/sztab/sztab] 3ed1045388f4: Waiting adf670432170: Waiting fd18b9ed8f5e: Waiting dfd1a06c0131: Waiting 8baeedd2aae6: Waiting d6d3072b7ee4: Waiting b8a35db46e38: Waiting a452d8b8a38c: Waiting unexpected status from POST request to https://tigase.dev/v2/sztab/sztab/blobs/uploads/: 503 Service Temporarily Unavailable rksuma@Ramakrishnans-MacBook-Pro sztab %Pl let me know if this is a temporary backend issue or if any intervention is needed from your end.
-
@andrzej.wojcik maybe you have any idea about the question asked by @rk?
-
@rk Could you try now? There was a limit on no. of concurrent requests to 1dev that was set to
4to deal with AI bots harvesting information. I suppose you could reach this limit as docker has uploads set to5and downloads to3. As we have already a different fix for dealing with harvesting data (limited access to~compare), I've increased no. of concurrent HTTP requests for 1dev to 10. -
Thank you I was able to push:
rksuma@Ramakrishnans-MacBook-Pro sztab % docker build -t sztab -f deploy/docker/Dockerfile . [+] Building 66.8s (14/14) FINISHED docker:desktop-linux => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.04kB 0.0s => [internal] load metadata for docker.io/library/eclipse-temurin:21-jre 0.7s => [internal] load metadata for docker.io/library/maven:3.9.6-eclipse-temurin-21 0.7s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [build 1/5] FROM docker.io/library/maven:3.9.6-eclipse-temurin-21@sha256:8d63d4c1902cb12d9e79a70671b18ebe26358cb592561af33ca1808f00d935cb 0.0s => => resolve docker.io/library/maven:3.9.6-eclipse-temurin-21@sha256:8d63d4c1902cb12d9e79a70671b18ebe26358cb592561af33ca1808f00d935cb 0.0s => [stage-1 1/3] FROM docker.io/library/eclipse-temurin:21-jre@sha256:615497e30ae2b2654ff7bccc7cb057c27443041994593c726852f04dc99830b1 0.0s => => resolve docker.io/library/eclipse-temurin:21-jre@sha256:615497e30ae2b2654ff7bccc7cb057c27443041994593c726852f04dc99830b1 0.0s => [internal] load build context 0.1s => => transferring context: 1.91MB 0.1s => CACHED [build 2/5] WORKDIR /app 0.0s => [build 3/5] COPY backend /app/backend 0.1s => [build 4/5] WORKDIR /app/backend 0.0s => [build 5/5] RUN mvn clean package -DskipTests 64.1s => CACHED [stage-1 2/3] WORKDIR /app 0.0s => [stage-1 3/3] COPY --from=build /app/backend/target/sztab-0.0.1-SNAPSHOT.jar app.jar 0.1s => exporting to image 1.5s => => exporting layers 1.2s => => exporting manifest sha256:5359453b3e9c66dce5940ebc4853b29cf830a834e2993110e441bc646bad47ef 0.0s => => exporting config sha256:4acae6af9f92d6b14993f295517b7f0ddd2bc6bc1e675895cec461266d11ac61 0.0s => => exporting attestation manifest sha256:f3ee9a899fd0565bc7f51e0ab6563b8c6c733e6143ff447ec5065f6431009eca 0.0s => => exporting manifest list sha256:36d14c683f688f19a0cf2778d1ac2c63cbbc7503dbb06c581fff0679056f9128 0.0s => => naming to docker.io/library/sztab:latest 0.0s => => unpacking to docker.io/library/sztab:latest 0.3s View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/1w0dgpv8w95yzv2dcge6p3g84 What's next: View a summary of image vulnerabilities and recommendations → docker scout quickview rksuma@Ramakrishnans-MacBook-Pro sztab % docker tag sztab tigase.dev/sztab/sztab:1.1 rksuma@Ramakrishnans-MacBook-Pro sztab % docker push tigase.dev/sztab/sztab:1.1 The push refers to repository [tigase.dev/sztab/sztab] d04e53b08248: Pushed b8a35db46e38: Pushed adf670432170: Pushed d6d3072b7ee4: Pushed fd18b9ed8f5e: Pushed a452d8b8a38c: Pushed 3ed1045388f4: Pushed 6aacbf1d2233: Pushed 1.1: digest: sha256:36d14c683f688f19a0cf2778d1ac2c63cbbc7503dbb06c581fff0679056f9128 size: 856 rksuma@Ramakrishnans-MacBook-Pro sztab % -
And start Sztab using image on tigase.dev:
$ git clone https://tygrys/sztab.git Cloning into 'sztab'... remote: Enumerating objects: 659, done. remote: Counting objects: 100% (659/659), done. remote: Compressing objects: 100% (561/561), done. remote: Total 659 (delta 287), reused 0 (delta 0), pack-reused 0 Receiving objects: 100% (659/659), 141.73 KiB | 1.49 MiB/s, done. Resolving deltas: 100% (287/287), done. $ $ cd sztab/deploy/docker $ $ docker login tigase.dev $ Authenticating with existing credentials... Login Succeeded $ $ docker compose up [+] Running 2/2 ✔ Container sztab-db Created 0.0s ✔ Container sztab-backend Recreated 0.1s Attaching to sztab-backend, sztab-db sztab-db | sztab-db | PostgreSQL Database directory appears to contain a database; Skipping initialization sztab-db | sztab-db | 2025-10-22 18:20:32.637 UTC [1] LOG: starting PostgreSQL 16.2 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit sztab-db | 2025-10-22 18:20:32.638 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 sztab-db | 2025-10-22 18:20:32.638 UTC [1] LOG: listening on IPv6 address "::", port 5432 sztab-db | 2025-10-22 18:20:32.639 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" sztab-db | 2025-10-22 18:20:32.643 UTC [24] LOG: database system was shut down at 2025-10-21 05:31:15 UTC sztab-db | 2025-10-22 18:20:32.651 UTC [1] LOG: database system is ready to accept connections sztab-backend | [0.315s][info][jfr,startup] Started recording 1. The result will be written to: sztab-backend | [0.315s][info][jfr,startup] sztab-backend | [0.315s][info][jfr,startup] /tmp/sztab.jfr sztab-backend | sztab-backend | . ____ _ __ _ _ sztab-backend | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ sztab-backend | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ sztab-backend | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) sztab-backend | ' |____| .__|_| |_|_| |_\__, | / / / / sztab-backend | =========|_|==============|___/=/_/_/_/ sztab-backend | sztab-backend | :: Spring Boot :: (v3.5.6) sztab-backend | sztab-backend | 2025-10-22T18:20:44.115Z INFO 1 --- [ main] com.sztab.Application : Starting Application using Java 21.0.8 with PID 1 (/app/app.jar started by root in /app) sztab-backend | 2025-10-22T18:20:44.117Z INFO 1 --- [ main] com.sztab.Application : The following 2 profiles are active: "postgresql", "basic-auth" //...
| Type |
Documentation
|
| Priority |
Normal
|
| Assignee | |
| Version |
none
|
| Sprints |
n/a
|
| Customer |
n/a
|
Docker images are being pushed to Tigase's own docker registry and are available for download at this address: https://tigase.dev/sztab/~packages
The build job does not run automatically for now, it has to be manually started. If you feel like the project is ready for automated builds you can add commit trigger to the build script.
Also, the build uses TAGs to create image version. I created tag 1.0 which is enough for now. In the future you have to remember to tag the code in repo in order to have image build with a correct version number.
Please update the README file and instructions to point to the https://tigase.dev/sztab/~packages docker registry for images and you can delete images from your own registry.