fix: Change nginx to port 8080 (non-root user can't bind to 80)
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul Nothaft
2026-01-04 23:17:38 +01:00
parent 12eac5ef8c
commit 69b13191a3
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -65,8 +65,8 @@ RUN echo '#!/bin/sh' > /app/start.sh && \
# Switch to non-root user # Switch to non-root user
USER nodejs USER nodejs
# Expose ports (3000 for API, 80 for frontend) # Expose ports (3000 for API, 8080 for frontend)
EXPOSE 3000 80 EXPOSE 3000 8080
# Start both nginx and node # Start both nginx and node
CMD ["/app/start.sh"] CMD ["/app/start.sh"]
+1 -1
View File
@@ -56,7 +56,7 @@ services:
- "traefik.http.routers.minio-webui.rule=Host(`minio-webui.local.nothaft.cloud`)" - "traefik.http.routers.minio-webui.rule=Host(`minio-webui.local.nothaft.cloud`)"
- "traefik.http.routers.minio-webui.entrypoints=https" - "traefik.http.routers.minio-webui.entrypoints=https"
- "traefik.http.routers.minio-webui.tls.certresolver=dns" - "traefik.http.routers.minio-webui.tls.certresolver=dns"
- "traefik.http.services.minio-webui.loadbalancer.server.port=80" - "traefik.http.services.minio-webui.loadbalancer.server.port=8080"
- "traefik.docker.network=proxy" - "traefik.docker.network=proxy"
# Homepage integration # Homepage integration
- "homepage.group=Infrastructure" - "homepage.group=Infrastructure"
+1 -1
View File
@@ -1,5 +1,5 @@
server { server {
listen 80; listen 8080;
server_name localhost; server_name localhost;
root /app/public; root /app/public;
index index.html; index index.html;