summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index dfa26b0..0abbf42 100644
--- a/README.md
+++ b/README.md
@@ -195,10 +195,15 @@ repository: https://0xacab.org/jvoisin/mat2-web/container_registry
195### Building the production image 195### Building the production image
196Build command: `docker build -f Dockerfile.production -t mat-web .` 196Build command: `docker build -f Dockerfile.production -t mat-web .`
197 197
198Run it: `docker run -ti -p8181:8080 --read-only --tmpfs /tmp --tmpfs /run/uwsgi --tmpfs=/app/uploads mat-web:latest` 198Run it: `docker run -ti -p8181:8080 --read-only --tmpfs /tmp --tmpfs /run/uwsgi --tmpfs=/app/upload mat-web:latest`
199 199
200This does mount the upload folder as tmpfs and servers the app on `localhost:8181`. 200This does mount the upload folder as tmpfs and servers the app on `localhost:8181`.
201 201
202##### Podman
203Build: `podman build -f Dockerfile.production -t matweb-podman .`
204
205Run: `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
204The default settings from `main.py` may be overridden by adding a `config.py` 209The default settings from `main.py` may be overridden by adding a `config.py`