Skip to content

Commit

Permalink
Intento de solucion de problemas de permisos
Browse files Browse the repository at this point in the history
  • Loading branch information
UO289337 committed Apr 28, 2024
1 parent 3734f86 commit 9f25eb3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gatewayservice/gateway-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const allUsersServiceUrl = process.env.ALLUSERS_SERVICE_URL || 'http://localhost
const allQuestionsServiceUrl = process.env.ALLQUESTIONS_SERVICE_URL || 'http://localhost:8007';

const corsOptions = {
origin: originEndpoint,
origin: `${apiEndpoint}`,
methods: ['GET', 'POST'],
allowedHeaders: ['Content-Type', 'Authorization']
};
Expand Down
2 changes: 2 additions & 0 deletions gatewayservice/monitoring/grafana/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Usa la imagen base de Grafana desde Docker Hub
FROM grafana/grafana

USER root

RUN addgroup -S nonroot \
&& adduser -S nonroot -G nonroot

Expand Down
2 changes: 2 additions & 0 deletions gatewayservice/monitoring/prometheus/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Usa la imagen base de Prometheus desde Docker Hub
FROM prom/prometheus

USER root

RUN addgroup -S nonroot \
&& adduser -S nonroot -G nonroot

Expand Down

0 comments on commit 9f25eb3

Please sign in to comment.