From 0492469ed6c33381b5cb856d87eea75eeb07c71c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Fri, 9 Jan 2026 19:17:01 +0100 Subject: [PATCH 1/3] (refactor) dockerfile: modified default port --- docker-stack/docker-compose-standalone.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-stack/docker-compose-standalone.yaml b/docker-stack/docker-compose-standalone.yaml index 92d6dbf..87ba7ab 100644 --- a/docker-stack/docker-compose-standalone.yaml +++ b/docker-stack/docker-compose-standalone.yaml @@ -26,7 +26,7 @@ services: LINKEDIN_SECRET: ugf61aJ2iyErLK40 HOSTNAME: rezije.app # IP address at which the server will be listening (0.0.0.0 = listen on all addresses) NEXTAUTH_URL: https://rezije.app # URL next-auth will use while redirecting user during authentication (if not set - will use HOSTNAME) - PORT: ${PORT:-80} + PORT: ${PORT:-3000} # Share link security SHARE_LINK_SECRET: ef68362357315d5decb27d24ff9abdb4a02a3351cd2899f79bf238dce0fe08c5 SHARE_TTL_INITIAL_DAYS: 10 @@ -41,7 +41,7 @@ services: labels: - traefik.enable=true - traefik.docker.network=traefik-network # mreže preko koje ide komunikacija sa Traefikom - - traefik.http.services.web-app.loadbalancer.server.port=80 + - traefik.http.services.web-app.loadbalancer.server.port=3000 - traefik.http.routers.web-app.entrypoints=http - traefik.http.routers.web-app.rule=Host(`${FQDN:-rezije.app}`) From 2ddff15497087c0a443b363738d1b489293b330f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Fri, 9 Jan 2026 19:17:31 +0100 Subject: [PATCH 2/3] (bugfix) Dockerfile: `hosts` file was copied in wrong step --- web-app/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web-app/Dockerfile b/web-app/Dockerfile index 85b8958..6647f68 100644 --- a/web-app/Dockerfile +++ b/web-app/Dockerfile @@ -12,9 +12,6 @@ RUN apk add --no-cache libc6-compat WORKDIR /app -# copy custom hosts file to avoid issues with some auth providers -COPY ./etc/hosts /etc/hosts - # Copy package files COPY ./package.json ./package-lock.json ./ @@ -41,6 +38,9 @@ COPY --from=builder /app/public/* /app/public/ # this file is required for the pdfjs-dist package COPY --from=builder /app/node_modules/pdfjs-dist/build/pdf.worker.min.mjs /app/public/pdf.worker.min.mjs +# copy custom hosts file to avoid issues with some auth providers +COPY ./etc/hosts /etc/hosts + # Automatically leverage output traces to reduce image size # https://nextjs.org/docs/advanced-features/output-file-tracing COPY --from=builder --chown=nonroot:nonroot /app/.next/standalone ./ From 5cb0210668a3c0202eb3bbd9ef081cf375a2ecd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Fri, 9 Jan 2026 19:17:53 +0100 Subject: [PATCH 3/3] (ver) web-app: version bump --- web-app/package-lock.json | 4 ++-- web-app/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web-app/package-lock.json b/web-app/package-lock.json index aa1e6ec..707797c 100644 --- a/web-app/package-lock.json +++ b/web-app/package-lock.json @@ -1,11 +1,11 @@ { "name": "evidencija-rezija", - "version": "2.21.1", + "version": "2.21.2", "lockfileVersion": 3, "requires": true, "packages": { "": { - "version": "2.21.1", + "version": "2.21.2", "dependencies": { "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", diff --git a/web-app/package.json b/web-app/package.json index bc0c2f2..3932415 100644 --- a/web-app/package.json +++ b/web-app/package.json @@ -58,5 +58,5 @@ "engines": { "node": ">=18.17.0" }, - "version": "2.21.1" + "version": "2.21.2" }