diff --git a/docker-compose.custom.yml b/docker-compose.custom.yml index e1a0b4c..13d9f3e 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}:8085:8085" depends_on: - stac diff --git a/docker-compose.yml b/docker-compose.yml index f7764dd..0622d7f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -138,7 +138,7 @@ services: context: dockerfiles dockerfile: Dockerfile.browser ports: - - "${MY_DOCKER_IP:-127.0.0.1}:8084:8080" + - "${MY_DOCKER_IP:-127.0.0.1}:8085:8085" depends_on: - stac-fastapi 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