Skip to content

Commit 0fdb27c

Browse files
committed
port changed
1 parent bc86cff commit 0fdb27c

7 files changed

Lines changed: 10 additions & 49 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ============================================================
22
# STAGE 1: Build the Static Assets
33
# ============================================================
4-
FROM helsinki.azurecr.io/nodejs-builder-base:1.0 AS staticbuilder
4+
FROM helsinki.azurecr.io/ubi9/nodejs-22-yarn-builder-base AS staticbuilder
55

66
# 1. Install dependencies
77
# Base already has /app as WORKDIR
@@ -27,7 +27,7 @@ RUN yarn build
2727
# ============================================================
2828
# STAGE 2: Production Runtime
2929
# ============================================================
30-
FROM helsinki.azurecr.io/nginx-spa-standard:1.0 AS production
30+
FROM helsinki.azurecr.io/ubi9/nginx-126-spa-standard AS production
3131

3232
ARG REACT_APP_SENTRY_RELEASE
3333
ENV APP_RELEASE=${REACT_APP_SENTRY_RELEASE:-""}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ docker compose build
8484
docker compose up
8585
```
8686

87-
The web application is running at http://localhost:8086
87+
The web application is running at http://localhost:8080
8888

8989
## Commit message format
9090

@@ -127,7 +127,7 @@ After you've got tunnistamo running locally, ssh to the tunnistamo docker contai
127127
and execute the following four commands inside your docker container:
128128

129129
```bash
130-
./manage.py add_oidc_client -n kerrokantasi-ui -t "id_token token" -u "http://localhost:8086/callback" "http://localhost:8086/silent-renew" -i https://api.hel.fi/auth/kerrokantasi-ui -m github -s dev
130+
./manage.py add_oidc_client -n kerrokantasi-ui -t "id_token token" -u "http://localhost:8080/callback" "http://localhost:8080/silent-renew" -i https://api.hel.fi/auth/kerrokantasi-ui -m github -s dev
131131
./manage.py add_oidc_client -n kerrokantasi-api -t "code" -u http://localhost:8080/complete/tunnistamo/ -i https://api.hel.fi/auth/kerrokantasi -m github -s dev -c
132132
./manage.py add_oidc_api -n kerrokantasi -d https://api.hel.fi/auth -s email,profile -c https://api.hel.fi/auth/kerrokantasi
133133
./manage.py add_oidc_api_scope -an kerrokantasi -c https://api.hel.fi/auth/kerrokantasi -n "Kerrokantasi" -d "Lorem ipsum"

assets/urls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"hostname": "https://localhost:8086",
2+
"hostname": "https://localhost:8080",
33
"dataProtectionFI": "https://www.example.fi",
44
"dataProtectionSV": "http://www.example.sv",
55
"feedbackEmailEN": "mailto:kerrokantasi@example.com?subject=Kerrokantasi-palaute-en",

compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
app:
55
platform: linux/amd64
66
ports:
7-
- 8086:8086
7+
- 8080:8080
88
build:
99
context: .
1010
volumes:

playwright.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default defineConfig({
2828
// Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions
2929
use: {
3030
// Base URL to use in actions like `await page.goto('/')`.
31-
baseURL: process.env.E2E_TESTS_ENV_URL ?? 'http://localhost:8086',
31+
baseURL: process.env.E2E_TESTS_ENV_URL ?? 'http://localhost:8080',
3232

3333
// Whether to ignore HTTPS errors when sending network requests
3434
ignoreHTTPSErrors: true,
@@ -58,7 +58,7 @@ export default defineConfig({
5858
],
5959
webServer: {
6060
command: 'yarn start',
61-
url: process.env.E2E_TESTS_ENV_URL ?? 'http://localhost:8086',
61+
url: process.env.E2E_TESTS_ENV_URL ?? 'http://localhost:8080',
6262
reuseExistingServer: true,
6363
},
6464
});

scripts/env.sh

Lines changed: 0 additions & 39 deletions
This file was deleted.

vite.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ export default defineConfig(() => {
9090
publicDir: cityPublic,
9191
server: {
9292
host: true,
93-
port: 8086,
93+
port: 8080,
9494
},
9595
preview: {
96-
port: 8086,
96+
port: 8080,
9797
},
9898
resolve: {
9999
alias: [

0 commit comments

Comments
 (0)