Skip to content

Commit a4bfad4

Browse files
committed
fix port
1 parent 37ac057 commit a4bfad4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docker-compose.custom.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ services:
264264
context: dockerfiles
265265
dockerfile: Dockerfile.browser
266266
ports:
267-
- "${MY_DOCKER_IP:-127.0.0.1}:8084:8080"
267+
- "${MY_DOCKER_IP:-127.0.0.1}:8085:8085"
268268
depends_on:
269269
- stac
270270

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ services:
138138
context: dockerfiles
139139
dockerfile: Dockerfile.browser
140140
ports:
141-
- "${MY_DOCKER_IP:-127.0.0.1}:8084:8080"
141+
- "${MY_DOCKER_IP:-127.0.0.1}:8085:8085"
142142
depends_on:
143143
- stac-fastapi
144144

dockerfiles/Dockerfile.browser

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ FROM nginx:1-alpine-slim
2121
COPY --from=build-step /app/dist /usr/share/nginx/html
2222
COPY --from=build-step /app/config.schema.json /etc/nginx/conf.d/config.schema.json
2323

24-
# change default port to 8080
24+
# change default port to 8084
2525
RUN apk add jq pcre-tools && \
26-
sed -i 's/\s*listen\s*80;/ listen 8080;/' /etc/nginx/conf.d/default.conf && \
26+
sed -i 's/\s*listen\s*80;/ listen 8084;/' /etc/nginx/conf.d/default.conf && \
2727
sed -i 's/\s*location \/ {/ location \/ {\n try_files $uri $uri\/ \/index.html;/' /etc/nginx/conf.d/default.conf
2828

29-
EXPOSE 8080
29+
EXPOSE 8084
3030

3131
STOPSIGNAL SIGTERM
3232

0 commit comments

Comments
 (0)