diff --git a/README.md b/README.md index 59b7044..8a59ee6 100644 --- a/README.md +++ b/README.md @@ -6,5 +6,20 @@ ```shell docker build . -t simple-picture-gallery -docker run -p 3005:3001 -v //c/DATA/mypictures:/usr/src/app/picture-gallery-server/public --name test-gallery simple-picture-gallery +docker run -p 3005:3001 -v /mnt/data/pictures:/usr/src/app/public --name my-picture-gallery simple-picture-gallery +``` + +### Customization + +Create an environment file `.env`: + +```properties +REACT_APP_TITLE=My Gallery +REACT_APP_APPBAR_COLOR=#F8AB2D +``` + +And run docker with `--env-file .env` + +```shell +docker run -p 3005:3001 -v //c/DATA/temp/bla:/usr/src/app/public --env-file .env --name my-picture-gallery simple-picture-gallery ``` \ No newline at end of file