From 6359f2c71c5c08b45527874a4b466af986709492 Mon Sep 17 00:00:00 2001 From: Pouya Saadeghi Date: Sat, 30 Oct 2021 18:44:20 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8C=20=20=F0=9F=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 455b94e..486208a 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ You can pull & run the public docker image from github package registry: `$ docker pull ghcr.io/manasky/lorem-server:latest` #### Run docker image: -To run the container you must pass the app arguments via the `.env` file. To this, create a file named `.env` & set the options in uppercase & snail case format. +To run the container you must pass the app arguments via the `.env` file. To this, create a file named `.env` & set the options in uppercase & snake case format. An example of .env file: ``` @@ -57,4 +57,4 @@ Your images directory must link to the container, to this you can use -v argumen * `~/Pictures:/app/images` sets up a bindmount volume that links the directory `/app/images` from inside the app container to the directory `~/Pictures` on the host machine (here, your system). The app image directory is set in the `.env` file as `/app/images`, so here the `~/Pictures` is mounted to that. -After container running, the app will scan `/app/images` which is mounted to the directory `~/Pictures` of your system & serves the HTTP server on `127.0.0.1:8080`. Visit `127.0.0.1:8080/image` for start. \ No newline at end of file +After container running, the app will scan `/app/images` which is mounted to the directory `~/Pictures` of your system & serves the HTTP server on `127.0.0.1:8080`. Visit `127.0.0.1:8080/image` for start.