From 7a5719715876228e1ba84981e19a1135bdf9c1bc Mon Sep 17 00:00:00 2001 From: Julian Lechner Date: Fri, 17 Apr 2026 23:42:59 +0200 Subject: [PATCH 1/3] fucked up --- .github/workflows/BuildDev.yml | 2 +- .github/workflows/BuildLatest.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/BuildDev.yml b/.github/workflows/BuildDev.yml index b615a7f..5e623fc 100644 --- a/.github/workflows/BuildDev.yml +++ b/.github/workflows/BuildDev.yml @@ -8,7 +8,7 @@ on: env: REGISTRY: docker.lechner-systems.at - IMAGE_NAME: lechnersystems/ttm + IMAGE_NAME: lechnersystems/portfolio jobs: docker: diff --git a/.github/workflows/BuildLatest.yml b/.github/workflows/BuildLatest.yml index 0e6345d..8f8a790 100644 --- a/.github/workflows/BuildLatest.yml +++ b/.github/workflows/BuildLatest.yml @@ -5,7 +5,7 @@ on: env: REGISTRY: docker.lechner-systems.at - IMAGE_NAME: lechnersystems/ttm + IMAGE_NAME: lechnersystems/portfolio jobs: docker: -- 2.54.0 From eef9c65840dceb96ce9e8d886a8f797286a08d7a Mon Sep 17 00:00:00 2001 From: Julian Lechner Date: Fri, 17 Apr 2026 23:51:29 +0200 Subject: [PATCH 2/3] fucked up --- .env.example | 2 ++ configs/Production.json | 5 ----- docker-compose.yml | 2 +- src/server.ts | 7 ++++--- 4 files changed, 7 insertions(+), 9 deletions(-) create mode 100644 .env.example delete mode 100644 configs/Production.json diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..1dcd64e --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +IMAGE_TAG=latest +MAIN_PORT=3000 diff --git a/configs/Production.json b/configs/Production.json deleted file mode 100644 index f8478a0..0000000 --- a/configs/Production.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "Server": { - "Port": 3004 - } -} diff --git a/docker-compose.yml b/docker-compose.yml index af7845d..a5b26b2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: app: - image: docker.lechner-systems.at/lechnersystems/ttm:${IMAGE_TAG} + image: docker.lechner-systems.at/lechnersystems/portfolio:${IMAGE_TAG} build: context: . dockerfile: Dockerfile diff --git a/src/server.ts b/src/server.ts index 1097012..f703131 100644 --- a/src/server.ts +++ b/src/server.ts @@ -6,7 +6,6 @@ import { dirname, join, resolve } from 'node:path'; import { fileURLToPath } from 'node:url'; import bootstrap from './main.server'; -import ProductionConfig from '../configs/Production.json'; const serverDistFolder: string = dirname(fileURLToPath(import.meta.url)); const browserDistFolder: string = resolve(serverDistFolder, '../browser'); @@ -39,9 +38,11 @@ app.get('**', (req: Request, res: Response, next: NextFunction): void => { }); if (isMainModule(import.meta.url)) { - const port: number = ProductionConfig.Server.Port; + const envPort: number = Number.parseInt(process.env['MAIN_PORT'] ?? '', 10); + const port: number = Number.isFinite(envPort) ? envPort : 3000; + app.listen(port, (): void => { - console.log(`✔️ Listening on Port ${port}`); + console.log(`Listening on port ${port}`); }); } -- 2.54.0 From 172e6894af7f03b8a4fd1684507f171c60d4def6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 21:59:10 +0000 Subject: [PATCH 3/3] Bump karma-jasmine-html-reporter from 2.1.0 to 2.2.0 Bumps [karma-jasmine-html-reporter](https://github.com/dfederm/karma-jasmine-html-reporter) from 2.1.0 to 2.2.0. - [Release notes](https://github.com/dfederm/karma-jasmine-html-reporter/releases) - [Commits](https://github.com/dfederm/karma-jasmine-html-reporter/compare/v2.1.0...v2.2.0) --- updated-dependencies: - dependency-name: karma-jasmine-html-reporter dependency-version: 2.2.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 124 ++-------------------------------------------- package.json | 2 +- 2 files changed, 6 insertions(+), 120 deletions(-) diff --git a/package-lock.json b/package-lock.json index f9dc95f..b8a3979 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,7 +56,7 @@ "karma-chrome-launcher": "~3.2.0", "karma-coverage": "~2.2.0", "karma-jasmine": "~5.1.0", - "karma-jasmine-html-reporter": "~2.1.0", + "karma-jasmine-html-reporter": "~2.2.0", "postcss": "^8.5.8", "postcss-selector-parser": "^7.1.1", "prettier": "^3.8.1", @@ -5749,9 +5749,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -5769,9 +5766,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -5789,9 +5783,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -5809,9 +5800,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -5829,9 +5817,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -5849,9 +5834,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -5869,9 +5851,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -6440,9 +6419,6 @@ "arm" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6464,9 +6440,6 @@ "arm" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -6488,9 +6461,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6512,9 +6482,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -6536,9 +6503,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6560,9 +6524,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -6891,9 +6852,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6911,9 +6869,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -6931,9 +6886,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6951,9 +6903,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -7130,9 +7079,6 @@ "arm" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -7147,9 +7093,6 @@ "arm" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -7164,9 +7107,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -7181,9 +7121,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -7198,9 +7135,6 @@ "loong64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -7215,9 +7149,6 @@ "loong64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -7232,9 +7163,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -7249,9 +7177,6 @@ "ppc64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -7266,9 +7191,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -7283,9 +7205,6 @@ "riscv64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -7300,9 +7219,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -7317,9 +7233,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -7334,9 +7247,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -8294,9 +8204,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -8311,9 +8218,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -8328,9 +8232,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -8345,9 +8246,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -8362,9 +8260,6 @@ "riscv64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -8379,9 +8274,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -8396,9 +8288,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -8413,9 +8302,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -14049,13 +13935,13 @@ } }, "node_modules/karma-jasmine-html-reporter": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-2.1.0.tgz", - "integrity": "sha512-sPQE1+nlsn6Hwb5t+HHwyy0A1FNCVKuL1192b+XNauMYWThz2kweiBVW1DqloRpVvZIJkIoHVB7XRpK78n1xbQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-2.2.0.tgz", + "integrity": "sha512-J0laEC43Oy2RdR5V5R3bqmdo7yRIYySq6XHKbA+e5iSAgLjhR1oICLGeSREPlJXpeyNcdJf3J17YcdhD0mRssQ==", "dev": true, "license": "MIT", "peerDependencies": { - "jasmine-core": "^4.0.0 || ^5.0.0", + "jasmine-core": "^4.0.0 || ^5.0.0 || ^6.0.0", "karma": "^6.0.0", "karma-jasmine": "^5.0.0" } diff --git a/package.json b/package.json index 484302e..f6d97a8 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "karma-chrome-launcher": "~3.2.0", "karma-coverage": "~2.2.0", "karma-jasmine": "~5.1.0", - "karma-jasmine-html-reporter": "~2.1.0", + "karma-jasmine-html-reporter": "~2.2.0", "postcss": "^8.5.8", "postcss-selector-parser": "^7.1.1", "prettier": "^3.8.1", -- 2.54.0