diff --git a/docker-compose.custom.yml b/docker-compose.custom.yml index e1a0b4c..185287d 100644 --- a/docker-compose.custom.yml +++ b/docker-compose.custom.yml @@ -264,7 +264,7 @@ services: context: dockerfiles dockerfile: Dockerfile.browser ports: - - "${MY_DOCKER_IP:-127.0.0.1}:8084:8080" + - "${MY_DOCKER_IP:-127.0.0.1}:8084:8084" depends_on: - stac diff --git a/dockerfiles/Dockerfile.browser b/dockerfiles/Dockerfile.browser index f564524..0aa9932 100644 --- a/dockerfiles/Dockerfile.browser +++ b/dockerfiles/Dockerfile.browser @@ -21,12 +21,12 @@ FROM nginx:1-alpine-slim COPY --from=build-step /app/dist /usr/share/nginx/html COPY --from=build-step /app/config.schema.json /etc/nginx/conf.d/config.schema.json -# change default port to 8080 +# change default port to 8084 RUN apk add jq pcre-tools && \ - sed -i 's/\s*listen\s*80;/ listen 8080;/' /etc/nginx/conf.d/default.conf && \ + sed -i 's/\s*listen\s*80;/ listen 8084;/' /etc/nginx/conf.d/default.conf && \ sed -i 's/\s*location \/ {/ location \/ {\n try_files $uri $uri\/ \/index.html;/' /etc/nginx/conf.d/default.conf -EXPOSE 8080 +EXPOSE 8084 STOPSIGNAL SIGTERM