Fix nginx crash: add /run tmpfs for PID file with read_only filesystem
Nginx needs write access to /run for its PID file when the container filesystem is set to read_only: true. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6836108065
commit
076380cf9e
|
|
@ -27,6 +27,7 @@ services:
|
||||||
read_only: true
|
read_only: true
|
||||||
tmpfs:
|
tmpfs:
|
||||||
- /tmp
|
- /tmp
|
||||||
|
- /run
|
||||||
- /var/cache/nginx
|
- /var/cache/nginx
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue