Commit graph

216 commits

Author SHA1 Message Date
Michael Mayer
2b053d7a8b Config: Update docker-compose.yml examples
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-07 13:14:23 +02:00
Michael Mayer
7fe471900c Config: Update docker-compose.yml examples
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-07 13:06:59 +02:00
Michael Mayer
9826e57149 Docker: Refactor images to be more compatible with prod environments #411 #468
You should now be able to provide UMASK, UID and GID as environment variables
when using our production images. Work in progress.
2020-10-04 11:23:01 +02:00
Andrew Rabert
443789a7e0 Optimize images
Used:
- `oxipng --zopfli --opt max`
- `jpegoptim --all-progressive`
2020-09-21 17:40:58 -04:00
Michael Mayer
a08ae8649d Docker: Improve inline instructions
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-21 02:35:15 +02:00
Michael Mayer
b080e97bd8 Docker: Add example for setting a specific user and group id
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-21 02:29:07 +02:00
Michael Mayer
279513c193 Update sidecar config hints in docker-compose.yml examples #488
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-07 13:02:06 +02:00
Michael Mayer
65160859e1 Demo: Indent favicons.tmpl template
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-28 12:02:01 +02:00
Michael Mayer
0c7dc49e1a Docker: Update docker-compose.yml examples
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-25 17:34:46 +02:00
Michael Mayer
f22744770c Docker: Update images and add security_opt to docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-25 14:57:45 +02:00
Michael Mayer
c5beaeaddb Backend: Upgrade Go dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-19 12:01:54 +02:00
Michael Mayer
6e2849fba2 Index: Don't stack files based on XMP InstanceID
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-18 00:45:53 +02:00
Michael Mayer
1bd4336b79 Docker: Set default for PHOTOPRISM_STORAGE_PATH to /photoprism/storage
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-17 10:49:45 +02:00
Michael Mayer
88fa66886f Docker: Clean-up example docker-compose.yml files
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-13 16:55:31 +02:00
Michael Mayer
7f19cc3d27 Docker: Improve example docker-compose.yml files
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-13 16:52:25 +02:00
Michael Mayer
e7ff43b3f3 Docker: Update development image
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-13 15:10:50 +02:00
Michael Mayer
23279e6147 Run MariaDB with --transaction-isolation=READ-COMMITTED to reduce locking #392
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-13 14:20:09 +02:00
Michael Mayer
5e3a090065 Docker: Improve example docker-compose.yml files
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-12 18:41:48 +02:00
Michael Mayer
ebe5143fc6 RAW: Render CR3 files using Rawtherapee 5.8 #445
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-12 13:16:25 +02:00
Michael Mayer
7656262d06 Docker: Add rawtherapee 5.8 #445
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-12 10:42:19 +02:00
Michael Mayer
d82f2a1446 Docker: Ubuntu 20.04 upgrade #445
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-12 10:25:50 +02:00
Michael Mayer
2a07add90f Docker: Upgrade Caddy
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-11 15:58:31 +02:00
Michael Mayer
7d00e68d92 Index: Refactor mime type detection #391
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-21 14:43:45 +02:00
Michael Mayer
c704642f2e Frontend: Reformat templates
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-21 14:43:29 +02:00
Michael Mayer
05ae12f52d Upgrade Go to 1.14.6
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-21 14:38:37 +02:00
Theresa Gresch
c918efdcd8 Frontend: remove / from meta tags 2020-07-21 14:32:18 +02:00
Michael Mayer
710888c59f Darktable: Disable presets by default
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-21 12:18:53 +02:00
Michael Mayer
1ad34478de Increase default jpeg-size to 7680 x 4320 px #388
It's easier to decrease this when you've made a mistake than the other way.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-15 08:30:28 +02:00
Michael Mayer
6ebf975bf6 Update nodejs and frontend dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-15 02:13:03 +02:00
Michael Mayer
c0f10e2288 Use gettext for backend translations too
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-15 01:26:54 +02:00
Michael Mayer
f4e8b59c3b Rename PHOTOPRISM_CONVERT_SIZE to PHOTOPRISM_JPEG_SIZE #388
Naming more consistent with PHOTOPRISM_JPEG_QUALITY.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-14 14:30:19 +02:00
Michael Mayer
9eafc8c844 Add PHOTOPRISM_CONVERT_SIZE to docker-compose.yml examples #388
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-14 14:24:10 +02:00
Michael Mayer
4a9f992056 Thumbs: Use fit_4096 in favor of fit_3840 and add convert limit #362 #388
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-13 15:23:54 +02:00
Michael Mayer
eeeff27ba5 Frontend: Update favicons
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-09 16:06:58 +02:00
Michael Mayer
7cd88e411a Frontend: Improve loading animation and logo
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-09 15:01:36 +02:00
Michael Mayer
64676af55c Frontend: Move connection failed info to navigation and add help page #330 #376
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-03 13:45:23 +02:00
Michael Mayer
abe9d16340 Config: Change mysqld defaults #357
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-01 18:55:42 +02:00
Michael Mayer
aae3a4af2d Show warning if websocket connection fails #330
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-01 18:37:54 +02:00
Michael Mayer
ba5ab56dba Frontend: Add about and license page
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-01 14:52:24 +02:00
Michael Mayer
56cf8e95e0 Add change password form to settings
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-29 21:14:34 +02:00
Michael Mayer
6266a88c68 Sharing: Remove space from og:type tag #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-27 17:48:18 +02:00
Michael Mayer
c07f657c06 Sharing: Set siteUrl to shared content #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-27 17:39:53 +02:00
Michael Mayer
8d79f90138 Sharing: Use album title & description for site metadata #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-27 09:28:32 +02:00
Michael Mayer
16cdea77b7 Update docker-compose.yml example files
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-26 19:08:56 +02:00
Michael Mayer
1fb8b5cd63 Use static logo in sidebar navigation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-26 16:11:56 +02:00
Michael Mayer
4aa7b6cc97 Sharing: Generate share preview images #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-26 14:26:36 +02:00
Michael Mayer
01c78639ef Config: Shorten default site caption
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-25 18:39:55 +02:00
Michael Mayer
5d59b50912 Sharing: ACL authorization for REST API #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-25 14:54:04 +02:00
Michael Mayer
178ae9190b Config: Update site description default
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-16 10:08:34 +02:00
Michael Mayer
a91206a509 Universal sidecar configuration, indexing with multiple roots #268 #348
Slowly getting to the point where only very few people are able to maintain this codebase :)

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-07 10:09:35 +02:00
Michael Mayer
39340c2978 MySQL/MariaDB: Enable charset utf8mb4 in docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-05 14:03:14 +02:00
Michael Mayer
ca8a8466d4 Indexing bug fixes and UX improvements
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-04 14:56:27 +02:00
Michael Mayer
f32bbcc108 Config: Update example docker-compose.yml files #66
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 13:21:12 +02:00
Michael Mayer
d0199598d0 Simplify configuration #66
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 02:09:52 +02:00
Michael Mayer
f713a44668 Dockerfiles: Remove unused ports #66
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-30 14:56:07 +02:00
Michael Mayer
0b1bcf0d4a Replace TiDB with SQLite for improved stability #66
As a side effect, we need less configuration values.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-30 14:52:47 +02:00
Michael Mayer
6f6e3799dc Refactor download urls and client config
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-27 19:38:40 +02:00
Michael Mayer
4f4e19bd89 Docker: Upgrade Go to 1.14.3
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 11:14:23 +02:00
Michael Mayer
e61dda495a Add PHOTOPRISM_SIDECAR_HIDDEN and PHOTOPRISM_JPEG_HIDDEN flags #311
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 11:00:17 +02:00
Michael Mayer
950b6440be Docker: Add PHOTOPRISM_SIDECAR_YAML to docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-18 22:29:10 +02:00
Michael Mayer
d511a5c10a Fix example docker-compose.yml files
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-14 22:39:43 +02:00
Michael Mayer
011fda39af Docker: Add PHOTOPRISM_SIDECAR_JSON to example config #4 #243
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-13 20:59:28 +02:00
Michael Mayer
2ca1ff6701 Docker: Enable JSON sidecar files on demo.photoprism.org #4 #243
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-13 20:56:25 +02:00
Michael Mayer
556a0dd38b Docker: Start mysqld with --innodb-rollback-on-timeout=ON and --innodb-lock-wait-timeout=120
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-10 22:18:01 +02:00
Michael Mayer
252e67ce03 Add photo_count column to labels table
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-09 11:00:22 +02:00
Michael Mayer
397f976dd9 Disable PHOTOPRISM_DETECT_NSFW in docker-compose.yml #296
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-07 09:34:07 +02:00
Michael Mayer
9b643c830f Add template settings; remove twitter config value
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-05 18:26:44 +02:00
Michael Mayer
a886ad7942 Improve naming of thumbnail config values #294
Reverted PHOTOPRISM_RESAMPLE_FILTER back to PHOTOPRISM_THUMB_FILTER so that nothing breaks.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-05 17:17:19 +02:00
Michael Mayer
14fc9cd374 Revert and improve naming of thumbnail config values #294
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-05 17:04:13 +02:00
Michael Mayer
1c53a565a7 Configure on-demand rendering of regular thumbnail sizes #294
Can be enabled by setting PHOTOPRISM_RESAMPLE_UNCACHED to true

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-05 15:42:54 +02:00
Michael Mayer
8612e22a40 Config: Update docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 00:57:25 +02:00
Michael Mayer
8318ab8983 Config: Rename "sql" / "internal" to "tidb" for more clarity
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-28 22:49:02 +02:00
Michael Mayer
47f53fd4b2 Fix Dockerfile for ARM64 2020-04-28 21:30:17 +02:00
Michael Mayer
ba396952a8 Update Dockerfiles and set default SQL port to 2343 2020-04-28 21:10:31 +02:00
Michael Mayer
655eb0456a Fix .tf_configure.bazelrc for ARM64 2020-04-28 12:42:29 +02:00
Michael Mayer
deaf33ff26 Fix TensorFlow build environment for ARM64 2020-04-28 12:27:19 +02:00
Michael Mayer
4f05fde794 Update build environments 2020-04-28 11:51:42 +02:00
Michael Mayer
c4d7850228 TensorFlow: Set version to 1.15.2 2020-04-27 20:22:55 +02:00
Michael Mayer
fe6d46ea5f Upgrade TensorFlow to 1.15.2 without AVX #289
Custom TensorFlow build without SSE4.1 SSE4.2 AVX AVX2 FMA support.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-27 19:00:15 +02:00
Michael Mayer
01c7fd3fd3 Enabled PHOTOPRISM_DETECT_NSFW for our demo
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 21:27:16 +02:00
Michael Mayer
8609ab805f Automatically set private flag if detect-nsfw is enabled
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 20:28:16 +02:00
Michael Mayer
577a30e303 docker-compose.yml: Upgrade MariaDB and add docs / examples
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 18:22:25 +02:00
Michael Mayer
da823a8062 Upgrade TensorFlow to 1.15.0 #282
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 10:27:02 +02:00
Michael Mayer
12a44cc023 Upgrade Go to 1.14.2
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-20 23:48:36 +02:00
Michael Mayer
96cf1438df Docker: Update example docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-14 18:19:10 +02:00
Michael Mayer
f9127dd46b Docker: Update example docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-14 18:08:34 +02:00
Michael Mayer
a393a25e01 Backend: Remove export path to avoid confusion #276
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-06 23:04:52 +02:00
Michael Mayer
087c56e371 Sync: Download to temp path #225
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-06 16:34:29 +02:00
Michael Mayer
42ce669bf3 Dockerfiles: Set PHOTOPRISM_CONFIG_PATH
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-28 22:59:21 +01:00
Michael Mayer
ad8d85649d Dockerfiles: Code clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-28 17:44:07 +01:00
Michael Mayer
b86f68c3f3 Backend: Add WebDAV client and dummy test server #225
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-27 11:01:41 +01:00
Michael Mayer
80e083106d Demo: Fix path in Dockerfile
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-23 21:46:14 +01:00
Michael Mayer
a1706a5922 Backend: Upgrade & improve Dockerfiles #263
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-23 20:29:31 +01:00
Michael Mayer
a660bc0471 Docker: Remove unnecessary dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-04 00:17:54 +01:00
Michael Mayer
1c934d48d3 Add ffmpeg and improve UX
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-02-03 23:40:45 +01:00
Simen Eriksen
78d7165b0f
Make aware that bcrypt is supported in dockerfile (#238) 2020-02-02 11:13:36 +01:00
Michael Mayer
a69c8677fa Update testdata.zip
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-26 10:36:27 +01:00
Michael Mayer
549f985ee4 Docker: Add download link to arm64 docs
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-21 18:14:06 +01:00
Michael Mayer
9d198b438b Docker: Improve arm64 docs
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-21 18:07:04 +01:00
Michael Mayer
c2c1047343
Docs: Update Raspberry Pi instructions 2020-01-20 17:12:51 +01:00