fix: listen on port 8080 for non-root container
Deploy / Build & Push (Prod) (push) Successful in 11s
Deploy / Deploy Staging (push) Failing after 2s
Deploy / Deploy Prod (push) Has been skipped

This commit is contained in:
2026-05-24 22:34:17 -03:00
parent c4b8f19d6a
commit f3c1d76ae5
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -45,6 +45,6 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf
USER nginx-user USER nginx-user
EXPOSE 80 EXPOSE 8080
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]
+2 -2
View File
@@ -24,11 +24,11 @@ spec:
- name: batida-landing - name: batida-landing
image: git.batida.io/batida/batida-landing:latest image: git.batida.io/batida/batida-landing:latest
ports: ports:
- containerPort: 80 - containerPort: 8080
livenessProbe: livenessProbe:
httpGet: httpGet:
path: / path: /
port: 80 port: 8080
initialDelaySeconds: 5 initialDelaySeconds: 5
periodSeconds: 30 periodSeconds: 30
resources: resources:
+1 -1
View File
@@ -1,5 +1,5 @@
server { server {
listen 80; listen 8080;
server_name _; server_name _;
root /usr/share/nginx/html; root /usr/share/nginx/html;