Fix nginx configuration for read-only filesystem
This commit is contained in:
@@ -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 \
|
||||
|
Reference in New Issue
Block a user