diff --git a/Dockerfile b/Dockerfile index 8592e20..d2a679c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,6 +45,6 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf USER nginx-user -EXPOSE 80 +EXPOSE 8080 CMD ["nginx", "-g", "daemon off;"] diff --git a/k8s/prod.yaml b/k8s/prod.yaml index f691cc2..27e0965 100644 --- a/k8s/prod.yaml +++ b/k8s/prod.yaml @@ -24,11 +24,11 @@ spec: - name: batida-landing image: git.batida.io/batida/batida-landing:latest ports: - - containerPort: 80 + - containerPort: 8080 livenessProbe: httpGet: path: / - port: 80 + port: 8080 initialDelaySeconds: 5 periodSeconds: 30 resources: diff --git a/nginx.conf b/nginx.conf index 1efdb9f..ae65579 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,5 +1,5 @@ server { - listen 80; + listen 8080; server_name _; root /usr/share/nginx/html;