39 lines
1.0 KiB
Markdown
39 lines
1.0 KiB
Markdown
# Overview
|
|
|
|
This photo manager performs the following:
|
|
|
|
1. Scan a target directory looking for any photo that has been updated,
|
|
removed, or added
|
|
2. Process that image, extracting EXIF data, and adding to the DB
|
|
3. Schedule backend processing of all photos that have not been face
|
|
scanned with the latest FACE_SCANNER version
|
|
|
|
# To use the Docker
|
|
|
|
Edit the environment file '.env' and set PICTURES to the correct
|
|
location of pictures.
|
|
|
|
Also change the PORT to the port that will be nginx redirected to from
|
|
your main nginx server -- this allows you to run multiple instances
|
|
of the photo application on different paths, with different image sets.
|
|
|
|
```bash
|
|
docker build . -t photos
|
|
docker-compose up -d
|
|
```
|
|
|
|
At this point, .env's PORT (default 8123) will be supporting the photo app.
|
|
|
|
|
|
###
|
|
NEF processing uses darktable
|
|
```
|
|
sudo apt install -y darktable
|
|
```
|
|
|
|
### Create `photos` user for DB
|
|
|
|
Photos is currently using sqlite, which means you don't need to
|
|
do anything fancy beyond having run 'npm install' to get sequelize
|
|
and sqlite3 installed.
|