Sign inSign up

pbuyle/elodie

By pbuyle

•Updated over 6 years ago

Docker container for Elodie, an EXIF-based photo assistant, organizer, manager and automation tool.

Image
0

2.4K

pbuyle/elodie repository overview

⁠elodie-docker

Docker container for Elodie⁠

The container default command is to watch a source folder using inotifywait and automatically execute elodie to import added images to a destination folder.

⁠Usage

docker run \
  -name elodie
  -v /path/to/source:/source \
  -v /path/to/destination:/destination \
  -e PUID=1000 \
  -e PGID=1000 \
  --restart unless-stopped \
  pbuyle/elodie

⁠Configuration

⁠Environment Variables
Namedefault valueDescription
PUID1000for user id - see below for explanation
PGID1000for group id - see below for explanation
SOURCE/sourceImport files from this directory
DESTINATION/destinationCopy imported files into this directory
TRASHSet to move files to this trash folder after copying files
EXCLUDERegular expression for directories or files to exclude
ALLOW_DUPLICATESet to import the files even if theu have already been imported
ALBUM_FROM_FOLDERSet to use images' folders as their album names
MAPQUEST_KEYMapquest API key for geo-code location from EXIF's GPS fields
DEBUGSet to enable debug messages
⁠Advanced configurtion

Mount a custom /elodie/config.ini to set configuration.

docker run \
  -name elodie
  -v /path/to/source:/source \
  -v /path/to/destination:/destination \
  -v /path/to/config.ini:/elodie/config.ini:ro \
  -e PUID=1000 \
  -e PGID=1000 \
  --restart unless-stopped \
  pbuyle/elodie

Note: If a custom configuartion file is used then setting the MAPQUEST_KEY environment variable will have not effect.

⁠User / Group Identifiers

When using volumes (-v flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID and group PGID.

Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.

In this instance PUID=1000 and PGID=1000, to find yours use id user as below:

  $ id username
    uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)

Tag summary

Content type

Image

Digest

Size

57.3 MB

Last updated

over 6 years ago

docker pull pbuyle/elodie