Skip to content

Commit 2651304

Browse files
committed
build: change exposed ports from 3000 -> 8080
1 parent 1eff026 commit 2651304

4 files changed

Lines changed: 20 additions & 20 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ COPY --from=deps --chown=default:root /workspace-install ./
187187

188188
RUN pnpm install --frozen-lockfile
189189

190-
ENV PORT ${APP_PORT:-3000}
190+
ENV PORT ${APP_PORT:-8080}
191191

192192
# Expose port
193193
EXPOSE $PORT
@@ -243,7 +243,7 @@ RUN chgrp -R 0 /app/apps/${PROJECT}/.next/server/pages && chmod g+w -R /app/apps
243243
USER default
244244

245245
ENV NEXT_TELEMETRY_DISABLED 1
246-
ENV PORT ${APP_PORT:-3000}
246+
ENV PORT ${APP_PORT:-8080}
247247

248248
# Expose port
249249
EXPOSE $PORT

docker-compose.events.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ services:
77
# - donotstart
88
stdin_open: true
99
ports:
10-
- target: 3000
10+
- target: 8080
1111
published: 3000
1212
protocol: tcp
1313
build:
1414
context: .
1515
dockerfile: Dockerfile
1616
target: ${DOCKER_TARGET:-develop}
1717
args:
18-
APP_PORT: 3000
18+
APP_PORT: 8080
1919
PROJECT: events-helsinki
2020
volumes:
2121
# Share the source code to allow development
@@ -51,7 +51,7 @@ services:
5151
target: builder
5252
args:
5353
- BUILDER_FROM_IMAGE=${BUILDER_FROM_IMAGE:-helsinki.azurecr.io/ubi10/nodejs-24-pnpm-builder-base}
54-
- APP_PORT=3000
54+
- APP_PORT=8080
5555
- PROJECT=events-helsinki
5656
- SKIP_BUILD_STATIC_GENERATION=${SKIP_BUILD_STATIC_GENERATION:-1}
5757

@@ -68,7 +68,7 @@ services:
6868
dockerfile: DockerfileCache
6969
target: cache
7070
args:
71-
- APP_PORT=3000
71+
- APP_PORT=8080
7272
- PROJECT=events-helsinki
7373
- SKIP_BUILD_STATIC_GENERATION=1
7474
- NEXT_DISABLE_SOURCEMAPS=true
@@ -123,7 +123,7 @@ services:
123123
# - donotstart
124124
stdin_open: false
125125
ports:
126-
- target: 3000
126+
- target: 8080
127127
published: 3000
128128
protocol: tcp
129129
build:
@@ -132,7 +132,7 @@ services:
132132
target: runner
133133
args:
134134
- BUILDER_FROM_IMAGE=${BUILDER_FROM_IMAGE:-helsinki.azurecr.io/ubi10/nodejs-24-pnpm-builder-base}
135-
- APP_PORT=3000
135+
- APP_PORT=8080
136136
- PROJECT=events-helsinki
137137
- SKIP_BUILD_STATIC_GENERATION=${SKIP_BUILD_STATIC_GENERATION:-1}
138138
- NEXT_DISABLE_SOURCEMAPS=true

docker-compose.hobbies.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ services:
77
# - donotstart
88
stdin_open: true
99
ports:
10-
- target: 3000
10+
- target: 8080
1111
published: 3000
1212
protocol: tcp
1313
build:
1414
context: .
1515
dockerfile: Dockerfile
1616
target: ${DOCKER_TARGET:-develop}
1717
args:
18-
APP_PORT: 3000
18+
APP_PORT: 8080
1919
PROJECT: hobbies-helsinki
2020
volumes:
2121
# Share the source code to allow development
@@ -51,7 +51,7 @@ services:
5151
target: builder
5252
args:
5353
- BUILDER_FROM_IMAGE=${BUILDER_FROM_IMAGE:-helsinki.azurecr.io/ubi10/nodejs-24-pnpm-builder-base}
54-
- APP_PORT=3000
54+
- APP_PORT=8080
5555
- PROJECT=hobbies-helsinki
5656
- SKIP_BUILD_STATIC_GENERATION=${SKIP_BUILD_STATIC_GENERATION:-1}
5757

@@ -68,7 +68,7 @@ services:
6868
dockerfile: DockerfileCache
6969
target: cache
7070
args:
71-
- APP_PORT=3000
71+
- APP_PORT=8080
7272
- PROJECT=hobbies-helsinki
7373
- SKIP_BUILD_STATIC_GENERATION=1
7474
- NEXT_DISABLE_SOURCEMAPS=true
@@ -123,7 +123,7 @@ services:
123123
# - donotstart
124124
stdin_open: false
125125
ports:
126-
- target: 3000
126+
- target: 8080
127127
published: 3000
128128
protocol: tcp
129129
build:
@@ -132,7 +132,7 @@ services:
132132
target: runner
133133
args:
134134
- BUILDER_FROM_IMAGE=${BUILDER_FROM_IMAGE:-helsinki.azurecr.io/ubi10/nodejs-24-pnpm-builder-base}
135-
- APP_PORT=3000
135+
- APP_PORT=8080
136136
- PROJECT=hobbies-helsinki
137137
- SKIP_BUILD_STATIC_GENERATION=${SKIP_BUILD_STATIC_GENERATION:-1}
138138
- NEXT_DISABLE_SOURCEMAPS=true

docker-compose.sports.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ services:
77
# - donotstart
88
stdin_open: true
99
ports:
10-
- target: 3000
10+
- target: 8080
1111
published: 3000
1212
protocol: tcp
1313
build:
1414
context: .
1515
dockerfile: Dockerfile
1616
target: ${DOCKER_TARGET:-develop}
1717
args:
18-
APP_PORT: 3000
18+
APP_PORT: 8080
1919
PROJECT: sports-helsinki
2020
volumes:
2121
# Share the source code to allow development
@@ -51,7 +51,7 @@ services:
5151
target: builder
5252
args:
5353
- BUILDER_FROM_IMAGE=${BUILDER_FROM_IMAGE:-helsinki.azurecr.io/ubi10/nodejs-24-pnpm-builder-base}
54-
- APP_PORT=3000
54+
- APP_PORT=8080
5555
- PROJECT=sports-helsinki
5656
- SKIP_BUILD_STATIC_GENERATION=${SKIP_BUILD_STATIC_GENERATION:-1}
5757

@@ -68,7 +68,7 @@ services:
6868
dockerfile: DockerfileCache
6969
target: cache
7070
args:
71-
- APP_PORT=3000
71+
- APP_PORT=8080
7272
- PROJECT=sports-helsinki
7373
- SKIP_BUILD_STATIC_GENERATION=1
7474
- NEXT_DISABLE_SOURCEMAPS=true
@@ -123,7 +123,7 @@ services:
123123
# - donotstart
124124
stdin_open: false
125125
ports:
126-
- target: 3000
126+
- target: 8080
127127
published: 3000
128128
protocol: tcp
129129
build:
@@ -132,7 +132,7 @@ services:
132132
target: runner
133133
args:
134134
- BUILDER_FROM_IMAGE=${BUILDER_FROM_IMAGE:-helsinki.azurecr.io/ubi10/nodejs-24-pnpm-builder-base}
135-
- APP_PORT=3000
135+
- APP_PORT=8080
136136
- PROJECT=sports-helsinki
137137
- SKIP_BUILD_STATIC_GENERATION=${SKIP_BUILD_STATIC_GENERATION:-1}
138138
- NEXT_DISABLE_SOURCEMAPS=true

0 commit comments

Comments
 (0)