mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-08-03 03:36:44 -04:00
Revert "moved socket file and nginx pid to /tmpfs"
This reverts commit 4731cf86b1a1a380235948cc82b2ee5fbd35f11d.
This commit is contained in:
parent
acb6694f82
commit
e69d97e7ed
5 changed files with 6 additions and 5 deletions
|
@ -205,7 +205,7 @@ repository: https://0xacab.org/jvoisin/mat2-web/container_registry
|
|||
### Building the production image
|
||||
Build command: `docker build -f Dockerfile.production -t mat-web .`
|
||||
|
||||
Run it: `docker run -ti -p8181:8080 --security-opt=no-new-privileges --read-only --tmpfs=/tmp --tmpfs /tmpfs --tmpfs=/var/www/mat2-web/uploads mat-web:latest`
|
||||
Run it: ` docker run -ti -p8181:8080 --security-opt=no-new-privileges --read-only --tmpfs /tmp --tmpfs=/var/www/mat2-web/uploads mat-web:latest`
|
||||
|
||||
This does mount the upload folder as tmpfs and servers the app on `localhost:8181`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue