Fix nginx error log and debug Redis URL format

This commit is contained in:
Andreas Dueren
2025-07-15 08:38:42 -06:00
parent 12917e3dd9
commit 49ae672cb5
2 changed files with 18 additions and 12 deletions

View File

@@ -25,6 +25,9 @@ COPY start.sh /app/code/
COPY healthcheck.js /app/code/
COPY nginx.conf /etc/nginx/sites-available/default
# Override nginx global error log to prevent read-only filesystem error
RUN sed -i 's|error_log /var/log/nginx/error.log;|error_log /dev/stderr;|' /etc/nginx/nginx.conf
# Make scripts executable
RUN chmod +x /app/code/start.sh /app/code/healthcheck.js