Fix nginx configuration for read-only filesystem

This commit is contained in:
Andreas Dueren
2025-08-10 11:01:58 -06:00
parent e48e198274
commit b82a2e5bec
2 changed files with 5 additions and 4 deletions

View File

@@ -18,8 +18,8 @@ RUN chmod +x /app/code/start.sh \
&& chown -R cloudron:cloudron /app/code /app/data /tmp/data
# Initialize data directory structure
RUN mkdir -p /tmp/data/logs /tmp/data/db /tmp/data/wal /tmp/data/stream_stats \
&& chown -R cloudron:cloudron /tmp/data
RUN mkdir -p /tmp/data/logs /tmp/data/db /tmp/data/wal /tmp/data/stream_stats /tmp/nginx_client_body \
&& chown -R cloudron:cloudron /tmp/data /tmp/nginx_client_body
# Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \