Go to file
Stefan Forstenlechner 53e0e9bd1f Add security check to avoid access violations
In case of malicious users double check paths, so that they are not able
 to traverse outside of the image directory.
2022-04-29 21:14:38 +02:00
picture-gallery-client Fix docker build 2022-04-25 22:40:23 +02:00
picture-gallery-server Add security check to avoid access violations 2022-04-29 21:14:38 +02:00
public some more pictures 2022-04-09 21:00:17 +02:00
.dockerignore Fix docker build 2022-04-25 22:40:23 +02:00
.gitignore First thumbnail attempt 2022-04-10 20:49:19 +02:00
Dockerfile Fix docker build 2022-04-25 22:40:23 +02:00
README.md Add some description for favicon configuration 2022-04-17 16:53:04 +02:00

README.md

Simple Picture Gallery

Getting Started

Docker

docker build . -t 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:

REACT_APP_TITLE=My Gallery
REACT_APP_APPBAR_COLOR=#F8AB2D

Other properties:

REACT_APP_FAVICON_HREF=<URL to your favicon>

And run docker with --env-file .env

docker run -p 3005:3001 -v //c/DATA/temp/bla:/usr/src/app/public --env-file .env --name my-picture-gallery simple-picture-gallery