diff options
| author | Jan Friedli | 2020-03-29 15:02:47 +0200 |
|---|---|---|
| committer | Jan Friedli | 2020-05-09 21:21:48 +0200 |
| commit | e69d97e7ed58bb753cc89b0b8bf9a671b9dde296 (patch) | |
| tree | 42b583510137ae2c82ecc86205e31f240c882e64 /README.md | |
| parent | acb6694f8215ed09f83099196aa2165ba2c9dbd8 (diff) | |
Revert "moved socket file and nginx pid to /tmpfs"
This reverts commit 4731cf86b1a1a380235948cc82b2ee5fbd35f11d.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -205,7 +205,7 @@ repository: https://0xacab.org/jvoisin/mat2-web/container_registry | |||
| 205 | ### Building the production image | 205 | ### Building the production image |
| 206 | Build command: `docker build -f Dockerfile.production -t mat-web .` | 206 | Build command: `docker build -f Dockerfile.production -t mat-web .` |
| 207 | 207 | ||
| 208 | 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` | 208 | 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` |
| 209 | 209 | ||
| 210 | This does mount the upload folder as tmpfs and servers the app on `localhost:8181`. | 210 | This does mount the upload folder as tmpfs and servers the app on `localhost:8181`. |
| 211 | 211 | ||
