Commit graph

184 commits

Author SHA1 Message Date
Michael Mayer
9134c79f4c Config: Add option to skip all RAW images when indexing #2227 2022-04-06 17:46:41 +02:00
Michael Mayer
b32d9bf30c Videos: Improve FFmpeg parameters for Intel QSV #2222
This commit also removes PHOTOPRISM_FFMPEG_BUFFERS as it is only
used/required by Video4Linux. 64 seems to be a good value, so we pass
it statically as for the other encoders. Examples have been updated.
2022-04-05 16:48:53 +02:00
Michael Mayer
a57c21febd Video Transcoding: Update docker-compose.yml config examples #2125 2022-04-05 16:17:26 +02:00
Michael Mayer
2df21a0901 Develop: Upgrade base images in docker-compose.yml and Dockerfile #2178 2022-04-05 15:34:02 +02:00
Michael Mayer
7c58f87c9f Performance: Reduce default JPEG quality from 92 to 85 #1438 2022-03-31 12:23:29 +02:00
Michael Mayer
05d39e8c3c Docker: Rename "PHOTOPRISM_DARKTABLE_PRESETS" in develop config #2206
As @cryptoluks noted, it's named "PHOTOPRISM_RAW_PRESETS" now:
https://github.com/photoprism/photoprism/discussions/2206
2022-03-30 14:27:44 +02:00
Michael Mayer
36d84de0c4 Docker: Upgrade MariaDB from 10.6 to 10.7 in config examples #2178 2022-03-30 13:47:49 +02:00
Michael Mayer
686a8ab9b4 Search: Refactor photo search, fix test data and unit tests #1994 2022-03-29 00:21:50 +02:00
Michael Mayer
8c589e3649 Videos: Improve Nvidia hardware transcoding support #2125
- successfully tested with NVIDIA Quadro P620 and driver v470.103.01
- the host Linux kernel should run the same driver version Make sure to
- driver names in PHOTOPRISM_FFMPEG_ENCODER have been simplified
- share /dev/nvidia* as shown in our new docker-compose.yml example
2022-03-23 13:27:25 +01:00
Michael Mayer
d4dbbb02e8 Docker: Replaced "nano" with "clitools" in PHOTOPRISM_INIT options
clitools installs additional shells and command-line utilities
2022-03-18 11:07:19 +01:00
Michael Mayer
6fb0eb2abe Docker: Auto-install "nvidia-opencl-icd" and update docs #1337 #2076 2022-03-02 12:21:46 +01:00
Michael Mayer
c0bb3a2062 Docker: Improve docs in docker-compose.yml examples #2076 2022-03-01 18:40:04 +01:00
Michael Mayer
b5915a3852 Docker: Improve inline docs in docker-compose.yml examples #1337 2022-02-25 16:45:15 +01:00
Michael Mayer
427d2132aa Docker: Update and improve scripts for installing CPU/GPU support #1337 2022-02-25 16:33:46 +01:00
Michael Mayer
1f47a3e2b8 Docker: Update default site caption and fix demo template 2022-02-23 14:24:50 +01:00
Michael Mayer
05a36c653f Develop: Add "photoprism.localssl.dev" host to docker-compose.yml 2022-02-21 11:32:23 +01:00
Michael Mayer
8a42e282dc Develop: Upgrade photoprism/traefik image from 20220208 to 20220221 2022-02-21 10:57:10 +01:00
Michael Mayer
a9193c47a9 Docker: Remove GOPROXY and GODEBUG args from all images 2022-02-20 16:55:25 +01:00
Michael Mayer
4dc62f4d50 Auth: Upgrade Keycloak from v16.1.1 to v17.0.0 #782 2022-02-13 19:32:22 +01:00
Michael Mayer
4c1d68eb85 Auth: Improve local dev environment and config examples #98 #782 2022-02-08 12:51:12 +01:00
Michael Mayer
4649f97f91 Develop: Upgrade Traefik and Keycloak 2022-02-05 15:26:02 +01:00
Michael Mayer
2e0c40332c Develop: Move MySQL 8 to docker-compose.mariadb.yml 2022-01-16 14:00:37 +01:00
Michael Mayer
4309e28efd OIDC: Add Traefik, Keycloak and Rename Development Base Image #782 2022-01-06 11:31:37 +01:00
Michael Mayer
def17613e0 Docker: Remove proxy from docker-compose.yml #1815 2021-12-15 14:57:20 +01:00
Michael Mayer
4def62fb1e CI: Add Go proxy 2021-12-09 18:48:44 +01:00
Michael Mayer
7e8974fd20 MySQL 8: Improve migrate command, ignore errors when dropping indexes 2021-11-28 13:52:27 +01:00
Michael Mayer
67b7c3d84d PWA: Add config options for app name, mode, and icon 2021-11-21 16:36:42 +01:00
Michael Mayer
53038c27a9 Docker: Update developer docker-compose.yml files 2021-11-09 17:11:14 +01:00
Michael Mayer
c029b2a78c Docker: Rename and update dummy-webdav service 2021-11-09 16:55:16 +01:00
Michael Mayer
644507bfaa Config: Improve docker-compose.yml files for prod & dev environments 2021-10-25 17:10:50 +02:00
Michael Mayer
f4a20d039d Docker: Upgrade photoprism/webdav from 20210602 to 20211021 2021-10-21 16:43:03 +02:00
Michael Mayer
6dedb4cf1e Docker: Add "install-updates" example to docker-compose.yml #536 #1337 2021-10-21 15:27:59 +02:00
Michael Mayer
564472a8cc Docker: Upgrade MariaDB image from 10.5 to 10.6 2021-10-21 15:16:02 +02:00
Michael Mayer
9bd20255c7 Docker: Add bitrate limit example #1337 2021-09-29 10:58:58 +02:00
Michael Mayer
91817f4ebf Docker: Add /dev/dri/card0 to docker-compose.yml example #1337 2021-09-29 10:23:09 +02:00
Michael Mayer
ba002b0dcc Docker: Upgrade base image from 20210928 to 20210929 #536 #1337 2021-09-29 09:27:09 +02:00
Michael Mayer
09d2673099 Docker: Install optional dependencies via PHOTOPRISM_INIT #536 #1337 2021-09-29 09:01:57 +02:00
Michael Mayer
fc832ce089 Docker: Improve entrypoint.sh scripts #1545 2021-09-28 18:51:23 +02:00
Michael Mayer
f302ca8cde Docker: Increase lock wait timeout in docker-compose.yml examples 2021-09-24 12:24:58 +02:00
Michael Mayer
a7c8065770 Docker: Remove explicit container names from development config files
Explicit names caused conflicts for some developers.
2021-09-24 08:05:08 +02:00
Michael Mayer
eb8bc7b709 Backend: Improve resilience #1544 2021-09-23 23:46:17 +02:00
Michael Mayer
d5b27897dc Docker: Remove HOME env from development docker-compose.yml files #1525
Causes caching / performance issues.
2021-09-21 21:52:43 +02:00
Michael Mayer
ed962a36da Docker: Explicitly set HOME environment variable #1525 2021-09-18 22:05:28 +02:00
Michael Mayer
79961ec11b MySQL: Fix compatibility issues #22 #1519 2021-09-17 14:39:08 +02:00
Michael Mayer
feb0c557c1 Docker: Update multi-arch development image and config #1158
Now comes with Go 1.17 pre-installed. To match production
docker-compose.yml examples, the development database was
renamed from "photoprism-db" to "mariadb".
2021-08-31 18:08:37 +02:00
Michael Mayer
408ee3402d Docker: Improve docs and add working_dir to docker-compose.yml 2021-08-31 14:30:15 +02:00
Michael Mayer
65aae950d2 Dev: Remove GID from env variables
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2021-07-25 23:47:12 +02:00
Michael Mayer
cdfa420fb0 Docker: Provide multi-arch build for webdav dummy #1158 #1328 2021-06-02 12:25:35 +02:00
Michael Mayer
f6c1592cb9 Config: Update default site description 2021-05-24 10:47:38 +02:00
Michael Mayer
683292cae9 Docs: Update Twitter account name 2021-05-15 10:48:37 +02:00
Michael Mayer
3aee5e8d78 Docker: Use variables to set UID & GID in development environments 2021-01-15 15:02:06 +01:00
Michael Mayer
0ffdc9c457 Config: Update docker-compose.yml examples 2021-01-14 19:23:24 +01:00
Michael Mayer
ed0aa11ee8 UX: Document min password length and reduce to 4 chars 2021-01-02 14:06:34 +01:00
Michael Mayer
0b52e536e2 Docker Compose: Add PHOTOPRISM_DISABLE_WEBDAV to example config 2020-12-18 21:27:45 +01:00
Michael Mayer
7940786ce9 UX: Refactor config options to be more intuitive
Make sure to update your local config files when upgrading as
the name of some config values has changed. The default
config path has changed from "settings" to "config".
2020-12-18 09:11:42 +01:00
Michael Mayer
9e7720a392 Docker: Upgrade base image and docker-compose.yml files 2020-12-15 19:47:05 +01: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
Michael Mayer
fb984b410d Docker: Add comment to docker-compose.yml (develop)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-06 12:32: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
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
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
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
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
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
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
166219bffd Config: Add PHOTOPRISM_ADMIN_PASSWORD to docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-06 20:13:52 +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
Theresa Gresch
d6a74713f2 Frontend: Change port for acceptance tests 2020-06-28 12:53:13 +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
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
Theresa Gresch
0e37580dd9 Backend: Expose port 80 for acceptance tests 2020-06-05 18:12:43 +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
f8ec76d6c9 Backend: Simplify and fix path names for development
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-02 15:51:14 +02:00
Michael Mayer
1dd465d889 Disable PHOTOPRISM_DETECT_NSFW by default in dev environments
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 12:53:19 +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
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
132db3c0d2 Backend: Upgrade Go modules
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 12:09:48 +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
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
3aad02501f Run unit tests in separate databases to avoid conflicts
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-08 19:34:29 +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
b4a04a478f Backend: Set test database using PHOTOPRISM_TEST_DSN
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 22:39:38 +02:00
Michael Mayer
a7cb63b606 Config: Update development docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 00:24:36 +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
ba396952a8 Update Dockerfiles and set default SQL port to 2343 2020-04-28 21:10:31 +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
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
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
7d5bc0619e Add "experimental" feature flag #152 #153 #154
Use this flag to test new features before they are stable.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-30 12:38:11 +01:00