Skip to content

Commit

Permalink
🐌 🐍
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi authored Oct 30, 2021
1 parent ecfaed9 commit 6359f2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
```
Expand All @@ -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.
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.

0 comments on commit 6359f2c

Please sign in to comment.