Go to file
Stefan Forstenlechner 09ff5ff5e7 Add test for securityChecks
Only covers simple cases. Administrator is responsible to secure that
 the user that runs the webserver is not allowed to access files that
 are not within the shared folder.

Add jest to picture-gallery-server
2022-06-18 16:03:14 +02:00
picture-gallery-client Add test for securityChecks 2022-06-18 16:03:14 +02:00
picture-gallery-server Add test for securityChecks 2022-06-18 16:03:14 +02:00
public some more pictures 2022-04-09 21:00:17 +02:00
.dockerignore Add some sensible sorting 2022-05-26 23:05:48 +02:00
.gitignore First thumbnail attempt 2022-04-10 20:49:19 +02:00
Dockerfile Add test for securityChecks 2022-06-18 16:03:14 +02:00
README.md Improve setup with top level package.json 2022-06-02 20:58:30 +02:00
package.json Add test for securityChecks 2022-06-18 16:03:14 +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