diff options
| -rw-r--r-- | README.md | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -195,10 +195,15 @@ repository: https://0xacab.org/jvoisin/mat2-web/container_registry | |||
| 195 | ### Building the production image | 195 | ### Building the production image |
| 196 | Build command: `docker build -f Dockerfile.production -t mat-web .` | 196 | Build command: `docker build -f Dockerfile.production -t mat-web .` |
| 197 | 197 | ||
| 198 | Run it: `docker run -ti -p8181:8080 --read-only --tmpfs /tmp --tmpfs /run/uwsgi --tmpfs=/app/uploads mat-web:latest` | 198 | Run it: `docker run -ti -p8181:8080 --read-only --tmpfs /tmp --tmpfs /run/uwsgi --tmpfs=/app/upload mat-web:latest` |
| 199 | 199 | ||
| 200 | This does mount the upload folder as tmpfs and servers the app on `localhost:8181`. | 200 | This does mount the upload folder as tmpfs and servers the app on `localhost:8181`. |
| 201 | 201 | ||
| 202 | ##### Podman | ||
| 203 | Build: `podman build -f Dockerfile.production -t matweb-podman .` | ||
| 204 | |||
| 205 | Run: `podman run -ti -p8181:8080 --read-only --tmpfs /tmp --tmpfs /run/uwsgi --tmpfs=/app/upload matweb-podman:latest` | ||
| 206 | |||
| 202 | # Configuration | 207 | # Configuration |
| 203 | 208 | ||
| 204 | The default settings from `main.py` may be overridden by adding a `config.py` | 209 | The default settings from `main.py` may be overridden by adding a `config.py` |
