File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ RUN mkdir -p /app
1212ADD run.sh /app/
1313RUN chmod +x /app/run.sh
1414
15+ RUN cd /app/ && git clone https://github.com/arehbein-git/ppTag.git pptag
16+
1517VOLUME /Photos
16- VOLUME /app/pptag
1718
1819CMD [ "/app/run.sh" ]
Original file line number Diff line number Diff line change @@ -69,6 +69,24 @@ Images are scanned for adobe lightroom tags and rating written to the XMP data i
6969
7070## Docker Container
7171
72- You can use the provided docker file and docker-compose to run ppTag inside docker.
73- The Container needs two Volumes. One for the photos and the second for the app.
74- This way it is easy to make changes to the files (config)
72+ You can use the provided docker file to build the image yourself or use the dockerhub versions arehbein/pptag.
73+ The container needs one volumes for the photos:
74+ ```
75+ <path to photolibrary>:/Photos
76+ ```
77+ The config file should be mounted as readonly:
78+ ```
79+ <path to config>/config.py:/app/pptag/config.py:ro
80+ ```
81+
82+
83+ Run the image
84+
85+ ``` bash
86+ docker run -v < path to photolibrary> :/Photos -v < path to config> /config.py:/app/pptag/config.py:ro -d arehbein/pptag
87+ ```
88+
89+ Use the provided docker-compose:
90+ ``` bash
91+ docker-compose up -d
92+ ```
Original file line number Diff line number Diff line change 11version : ' 3'
22services :
33 pptag :
4- image : pptag:latest
4+ image : arehbein/ pptag:latest
55 restart : always
66 volumes :
77 - /share/Photos/:/Photos
8- - /share/Container/pptag/:/app/pptag
8+ # needs to be an absolute path
9+ - /share/Container/pptag/config.py:/app/pptag/config.py:ro
You can’t perform that action at this time.
0 commit comments