You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,6 +146,17 @@ special_host:
146
146
147
147
With this configuration the application would have the app title "My Special Application", when it is accessed via the host `special.example.com`, while the endpoints would stay the same in every instance of the application.
148
148
149
+
## Read-only Root Filesystem Support
150
+
151
+
It is recommended to use a read-only root filesystem when running containers. However, the following directories must remain writable when using this base image:
152
+
153
+
* `/config/.out`
154
+
* This base image generates files in this directory at startup.
155
+
* `/tmp`
156
+
* Nginx uses this directory to manage cached files and the nginx.pid file. For more information, see [nginxinc/docker-nginx-unprivileged#troubleshooting-tips](https://github.com/nginxinc/docker-nginx-unprivileged/tree/af6e325d35e6833af9cdda8493866b88649e8aaf?tab=readme-ov-file#troubleshooting-tips).
157
+
158
+
It is possible to mount these directories as writable volumes. When using Kubernetes, one solution is to mount `emptyDir` volumes at these mount points.
159
+
149
160
## Development
150
161
151
162
Configuration files are dynamically generated via [gomplate templates](https://docs.gomplate.ca/).
0 commit comments