/
PhotoPrism.xml
204 lines (204 loc) · 12.7 KB
/
PhotoPrism.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<?xml version="1.0"?>
<Container version="2">
<Name>PhotoPrism</Name>
<Repository>photoprism/photoprism</Repository>
<Registry>https://hub.docker.com/r/photoprism/photoprism</Registry>
<Network>bridge</Network>
<MyIP/>
<Shell>bash</Shell>
<Privileged>false</Privileged>
<Support>https://forums.unraid.net/topic/83786-support-ich777-application-dockers/</Support>
<Project>https://github.com/photoprism/photoprism</Project>
<Overview>PhotoPrism™ is a server-based application for browsing, organizing and sharing your personal photo collection. It makes use of the latest technologies to automatically tag and find pictures without getting in your way. Say goodbye to solutions that force you to upload your visual memories to the cloud.

Please also support the developer of this superior project through a PayPal donation or on Patreon.

Database lockups: If you got problems where the database lockes up you should switch to a mysql based database but you have to also setup a dedicated database for that, for example 'MariaDB' from Linuxserver.io - if you need help please visit the support thread of this container and/or the MariaDB thread.</Overview>
<Category>Productivity: MediaApp:Photos</Category>
<WebUI>http://[IP]:[PORT:2342]/</WebUI>
<TemplateURL>false</TemplateURL>
<Icon>https://raw.githubusercontent.com/ich777/docker-templates/master/ich777/images/photoprism.png</Icon>
<ExtraParams>--restart=unless-stopped</ExtraParams>
<PostArgs/>
<CPUset/>
<DateInstalled/>
<DonateText>If you like my work please </DonateText>
<DonateLink>https://www.paypal.me/photoprism</DonateLink>
<Description>PhotoPrism™ is a server-based application for browsing, organizing and sharing your personal photo collection. It makes use of the latest technologies to automatically tag and find pictures without getting in your way. Say goodbye to solutions that force you to upload your visual memories to the cloud.

Please also support the developer of this superior project through a PayPal donation or on Patreon.

Database lockups: If you got problems where the database lockes up you should switch to a mysql based database but you have to also setup a dedicated database for that, for example 'MariaDB' from Linuxserver.io - if you need help please visit the support thread of this container and/or the MariaDB thread.</Description>
<Networking>
<Mode>bridge</Mode>
<Publish>
<Port>
<HostPort>2342</HostPort>
<ContainerPort>2342</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
</Publish>
</Networking>
<Data>
<Volume>
<HostDir>/mnt/cache/appdata/photoprism</HostDir>
<ContainerDir>/photoprism/storage</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/mnt/user/Pictures</HostDir>
<ContainerDir>/photoprism/originals</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir/>
<ContainerDir>/photoprism/import</ContainerDir>
<Mode>rw</Mode>
</Volume>
</Data>
<Environment>
<Variable>
<Value>true</Value>
<Name>PHOTOPRISM_UPLOAD_NSFW</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>PHOTOPRISM_DETECT_NSFW</Name>
<Mode/>
</Variable>
<Variable>
<Value>PhotoPrism</Value>
<Name>PHOTOPRISM_SITE_TITLE</Name>
<Mode/>
</Variable>
<Variable>
<Value>Browse Your Life</Value>
<Name>PHOTOPRISM_SITE_CAPTION</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>PHOTOPRISM_SITE_DESCRIPTION</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>PHOTOPRISM_SITE_AUTHOR</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>PHOTOPRISM_ADMIN_PASSWORD</Name>
<Mode/>
</Variable>
<Variable>
<Value>sqlite</Value>
<Name>PHOTOPRISM_DATABASE_DRIVER</Name>
<Mode/>
</Variable>
<Variable>
<Value/>
<Name>PHOTOPRISM_DATABASE_DSN</Name>
<Mode/>
</Variable>
<Variable>
<Value>180</Value>
<Name>PHOTOPRISM_AUTO_INDEX</Name>
<Mode/>
</Variable>
<Variable>
<Value>180</Value>
<Name>PHOTOPRISM_AUTO_IMPORT</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>PHOTOPRISM_SETTINGS_HIDDEN</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>PHOTOPRISM_THUMB_UNCACHED</Name>
<Mode/>
</Variable>
<Variable>
<Value>2048</Value>
<Name>PHOTOPRISM_THUMB_SIZE</Name>
<Mode/>
</Variable>
<Variable>
<Value>7680</Value>
<Name>PHOTOPRISM_THUMB_SIZE_UNCACHED</Name>
<Mode/>
</Variable>
<Variable>
<Value>7680</Value>
<Name>PHOTOPRISM_JPEG_SIZE</Name>
<Mode/>
</Variable>
<Variable>
<Value>90</Value>
<Name>PHOTOPRISM_JPEG_QUALITY</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>PHOTOPRISM_DARKTABLE_PRESETS</Name>
<Mode/>
</Variable>
<Variable>
<Value>lanczos</Value>
<Name>PHOTOPRISM_THUMB_FILTER</Name>
<Mode/>
</Variable>
<Variable>
<Value>false</Value>
<Name>PHOTOPRISM_EXPERIMENTAL</Name>
<Mode/>
</Variable>
<Variable>
<Value>99</Value>
<Name>PHOTOPRISM_UID</Name>
<Mode/>
</Variable>
<Variable>
<Value>100</Value>
<Name>PHOTOPRISM_GID</Name>
<Mode/>
</Variable>
<Variable>
<Value>/photoprism/storage</Value>
<Name>PHOTOPRISM_STORAGE_PATH</Name>
<Mode/>
</Variable>
</Environment>
<Labels/>
<Config Name="Data Dir" Target="/photoprism/storage" Default="" Mode="rw" Description="Storage PATH for generated files like cache and index (Keep cache, settings and database)" Type="Path" Display="always" Required="true" Mask="false">/mnt/cache/appdata/photoprism</Config>
<Config Name="Storage Path" Target="/photoprism/originals" Default="" Mode="rw" Description="Path to your images and storage folder" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/Pictures</Config>
<Config Name="Photo Import Folder" Target="/photoprism/import" Default="" Mode="rw" Description="Only if you want to use the Import function of PhotoPrism (ATTENTION: Don't put the import folder in a subdirectory of the storage folder for your images!)" Type="Path" Display="always" Required="false" Mask="false"/>
<Config Name="Offensive Uploads" Target="PHOTOPRISM_UPLOAD_NSFW" Default="" Mode="" Description="Allow uploads that MAY be offensive (Valid options: 'true' or 'false')" Type="Variable" Display="always" Required="false" Mask="false">true</Config>
<Config Name="Flag Offensive Photos" Target="PHOTOPRISM_DETECT_NSFW" Default="" Mode="" Description="Flag photos as private that MAY be offensive (Valid options: 'true' or 'false')" Type="Variable" Display="always" Required="false" Mask="false">false</Config>
<Config Name="Website Tile" Target="PHOTOPRISM_SITE_TITLE" Default="" Mode="" Description="Website Title" Type="Variable" Display="always" Required="false" Mask="false">PhotoPrism</Config>
<Config Name="Website Caption" Target="PHOTOPRISM_SITE_CAPTION" Default="" Mode="" Description="Website Caption" Type="Variable" Display="always" Required="false" Mask="false">Browse Your Life</Config>
<Config Name="Website Description" Target="PHOTOPRISM_SITE_DESCRIPTION" Default="" Mode="" Description="Website Description" Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="Website Author" Target="PHOTOPRISM_SITE_AUTHOR" Default="" Mode="" Description="Website Author" Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="Initial Admin Password" Target="PHOTOPRISM_ADMIN_PASSWORD" Default="" Mode="" Description="Initial Admin Password - you can change the password on the settings page (If you don't want to use a password delete this entry and create another variable with the Key: 'PHOTOPRISM_PUBLIC' and the Value: 'true')" Type="Variable" Display="always" Required="true" Mask="true"/>
<Config Name="WebGUI Port" Target="2342" Default="" Mode="tcp" Description="WebGUI Port" Type="Port" Display="always" Required="false" Mask="false">2342</Config>
<Config Name="Photoprims Database Type" Target="PHOTOPRISM_DATABASE_DRIVER" Default="" Mode="" Description="Choose if you want to use the builtin 'sqlite' database or a 'mysql' based database (If you got problems where the database lockes up you should switch to mysql but you have to also setup a dedicated database for that for example 'MariaDB' from Linuxserver.io)" Type="Variable" Display="always" Required="true" Mask="false">sqlite</Config>
<Config Name="MySQL Database Connection" Target="PHOTOPRISM_DATABASE_DSN" Default="" Mode="" Description="Needs to be filled out if you are using a 'mysql' based databyse type (it has to be filled in exact this format: 'DBUSER:DBPASSWORD@tcp(DBIP:DBPORT)/photoprism?parseTime=true' all values in CAPS have to be replaced with your credentials and without quotes)" Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="Webdav Autoindex - Safety Delay" Target="PHOTOPRISM_AUTO_INDEX" Default="" Mode="" Description="Set the safety delay for the Webdav Autoindexing in seconds (set to '-1' to disable set to '0' to enable the default value of 15 minutes or your preferred value in seconds)" Type="Variable" Display="always" Required="false" Mask="false">180</Config>
<Config Name="Webdav Autoimport- Safety Delay" Target="PHOTOPRISM_AUTO_IMPORT" Default="" Mode="" Description="Set the safety delay for the Webdav Autoimport in seconds (set to '-1' to disable set to '0' to enable the default value of 15 minutes or your preferred value in seconds)" Type="Variable" Display="always" Required="false" Mask="false">180</Config>
<Config Name="Settings Hidden" Target="PHOTOPRISM_SETTINGS_HIDDEN" Default="" Mode="" Description="Users can not view or change settings (Valid options: 'true' or 'false')" Type="Variable" Display="advanced" Required="false" Mask="false">false</Config>
<Config Name="On-Demand Rendering" Target="PHOTOPRISM_THUMB_UNCACHED" Default="" Mode="" Description="Enable on-demand thumbnail rendering (high memory and cpu usage - Valid options: 'true' or 'false')" Type="Variable" Display="advanced" Required="false" Mask="false">false</Config>
<Config Name="Tumbnail Size Limit" Target="PHOTOPRISM_THUMB_SIZE" Default="" Mode="" Description="Pre-rendered thumbnail size limit (default 2048, min 720, max 7680)" Type="Variable" Display="advanced" Required="false" Mask="false">2048</Config>
<Config Name="On-demand Size Limit" Target="PHOTOPRISM_THUMB_SIZE_UNCACHED" Default="" Mode="" Description="On-demand rendering size limit (default 7680, min 720, max 7680)" Type="Variable" Display="advanced" Required="false" Mask="false">7680</Config>
<Config Name="Converted Image Size Limit" Target="PHOTOPRISM_JPEG_SIZE" Default="" Mode="" Description="Size limit for converted image files in pixels (720-30000)" Type="Variable" Display="advanced" Required="false" Mask="false">7680</Config>
<Config Name="Thumbnail Quality" Target="PHOTOPRISM_JPEG_QUALITY" Default="" Mode="" Description="Set to 95 for high-quality thumbnails (requires more storage)" Type="Variable" Display="advanced" Required="false" Mask="false">90</Config>
<Config Name="Darktable Presets" Target="PHOTOPRISM_DARKTABLE_PRESETS" Default="" Mode="" Description="Use darktable presets (disables concurrent raw to jpeg conversion - Valid options: 'true' or 'false')" Type="Variable" Display="advanced" Required="false" Mask="false">false</Config>
<Config Name="Resample Filter" Target="PHOTOPRISM_THUMB_FILTER" Default="" Mode="" Description="Resample filter, best to worst: blackman, lanczos, cubic, linear" Type="Variable" Display="advanced" Required="false" Mask="false">lanczos</Config>
<Config Name="Enable Experimental Features" Target="PHOTOPRISM_EXPERIMENTAL" Default="" Mode="" Description="Enable experimental features (Valid options: 'true' or 'false')" Type="Variable" Display="advanced" Required="false" Mask="false">false</Config>
<Config Name="UID" Target="PHOTOPRISM_UID" Default="" Mode="" Description="Container Variable: PHOTOPRISM_UID" Type="Variable" Display="advanced" Required="true" Mask="false">99</Config>
<Config Name="GID" Target="PHOTOPRISM_GID" Default="" Mode="" Description="Container Variable: PHOTOPRISM_GID" Type="Variable" Display="advanced" Required="true" Mask="false">100</Config>
<Config Name="Storage Path" Target="PHOTOPRISM_STORAGE_PATH" Default="" Mode="" Description="Change only if you know what you are doing! (delete this value if you want to store your database and generated thumnails in the main directory)" Type="Variable" Display="advanced" Required="false" Mask="false">/photoprism/storage</Config>
</Container>