Commit graph

641 commits

Author SHA1 Message Date
Michael Mayer
591a656270 Auth: Add PHOTOPRISM_AUTH_MODE config option #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-07 19:12:28 +02:00
Michael Mayer
fb1736fb34 Docker: Update arm64 and armv7 README files 2022-06-29 12:43:44 +02:00
Michael Mayer
5c9877bcb6 Docker: Update arm64 and armv7 README files 2022-06-29 12:32:37 +02:00
Michael Mayer
5a89a79f86 JPEG: Add imagemagick to Dockerfiles #2462 #2463 2022-06-25 02:54:09 +02:00
Michael Mayer
b291d5c5e1 Docker: Update Debian dependencies 2022-06-20 20:47:04 +02:00
Michael Mayer
0402b8d397 Demo: Remove docker-demo-debian target from Makefile 2022-06-17 01:31:03 +02:00
Michael Mayer
13b801d702 Demo: Add docker-demo-latest to Makefile 2022-06-16 11:23:51 +02:00
Michael Mayer
db9cbe72c6 Docker/CI: Add Ubuntu-based demo and update targets in Makefile 2022-06-16 10:21:35 +02:00
Michael Mayer
88e1bd6033 MariaDB: Upgrade to 10.8 and increase innodb_buffer_pool_size #2390 2022-06-01 21:44:58 +02:00
Michael Mayer
6aa08d64c2 Docs: Update membership info URL
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-05-26 19:33:41 +02:00
Michael Mayer
2121dd4307 Auth: Allow short initial passwords to avoid login problems #2339 2022-05-20 19:25:19 +02:00
Michael Mayer
bcc1611371 Docker: Add PROG environment variable with default value "photoprism" 2022-05-20 15:44:13 +02:00
Michael Mayer
a96c1958f4 Docker: Specify explicitly supported user and group ID ranges #2336 2022-05-20 12:29:03 +02:00
Michael Mayer
88a560279c Docker: Update docker-compose.yml examples 2022-05-17 04:23:27 +02:00
Michael Mayer
451f3ad8ba Docker: Update docker-compose.yml examples 2022-05-17 04:15:37 +02:00
Michael Mayer
cc3aa90816 Docker: Update docker-compose.yml examples 2022-05-17 04:08:46 +02:00
Michael Mayer
a3c897adfe Docs: Update docker/README.md 2022-04-23 09:28:01 +02:00
Michael Mayer
8638929d84 Config: Automatically generate command-flag docs #1017 #2195 #2227 #2250 2022-04-22 17:38:40 +02:00
Michael Mayer
410d7d721e Docker: Fix ARMv7 Dockerfile #2262 2022-04-18 19:40:13 +02:00
Michael Mayer
df6ca40a82 Docker: Add matching groups for default users #2262 2022-04-18 19:12:26 +02:00
Michael Mayer
f093b498fa CI: Fix prod build scripts and add docker-compose.local.yml #2262 2022-04-18 15:49:30 +02:00
Michael Mayer
c2baf2ae5a Docker: Create default users and groups #2262 #2228
Creates accounts to run PhotoPrism under a custom user ID. Also adds
them to the video and render groups, which might help to access hardware
transcoding devices.
2022-04-18 14:14:32 +02:00
Michael Mayer
b54cfeaf5f Docker: Add user "unraid" with ID 99 #2256 2022-04-17 23:35:37 +02:00
Michael Mayer
a9827a7f87 Docker: Change command order in develop/bookworm/Dockerfile #2178 2022-04-17 16:39:41 +02:00
Michael Mayer
aec32d9c3a Docker: Add scripts/dist/install-go-tools.sh and OCI annotations #2178 2022-04-17 16:28:34 +02:00
Michael Mayer
745a3e1f22 Demo: Include archived photos when indexing example content #2257 2022-04-16 12:45:09 +02:00
Michael Mayer
2fc527973f Docker: Add video libs to ARMv7 production Dockerfile #2125 #2222
Adds the following video-related libs to the ARMv7 base image:
libwebm1, libmatroska7, libdvdread8, libebml5, libgav1-0, libatomic1,
libx264-163, libx265-199
2022-04-15 10:16:12 +02:00
Michael Mayer
92e6c4fe1e Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234
Extends DownloadSettings with 4 additional options:
- Name: File name pattern for downloaded files (existed)
- Disabled: Disables downloads
- Originals: Only download files stored in "originals" folder
- MediaRaw: Include RAW image files
- MediaSidecar: Include metadata sidecar files (JSON, XMP, YAML)
2022-04-15 09:42:07 +02:00
Michael Mayer
915ff42133 Auth: Add --auth flag, increase min password length to 8 chars #98 #2248 2022-04-12 19:44:43 +02:00
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
30fe713594 CI: Add Dockerfiles and update Makefile for Ubuntu 22.04 "Jammy" build 2022-04-05 15:31:29 +02:00
Michael Mayer
772da6baba Docker: Add warning to "HOME" and "working_dir" in config examples #2178 2022-04-05 15:13:27 +02:00
Michael Mayer
342904a4fa Docker: Copy heif-convert.sh script to /usr/local/bin #2214 2022-03-31 19:49:50 +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
387a740fb2 Docker: Update inline docs in docker-compose.yml examples 2022-03-30 14:29:01 +02:00
Michael Mayer
bfb6ab8bf7 Docker: Rename "PHOTOPRISM_DARKTABLE_PRESETS" in config examples #2206
As @cryptoluks, the variable name now is "PHOTOPRISM_RAW_PRESETS":
https://github.com/photoprism/photoprism/discussions/2206
2022-03-30 13:58:06 +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
a18a94f640 Docker: Update buster/impish images, add Makefile targets #2190 #2193 2022-03-28 11:36:47 +02:00
Ritesh Raj Sarraf
61e2a207c2 Use deb.debian.org host for CDN redirection
As per http://deb.debian.org/ this host name mapping maps to geolocation
based hosts.
2022-03-28 13:29:18 +05:30
Michael Mayer
57dd9015e2 Docs: Improve "cgroups" hint in config examples for Raspberry Pi #2067 2022-03-24 12:21:19 +01:00
Simon Rettberg
b57201d3fc
Docker: Fix tensorflow Dockerfile (#1964)
There are no more *.diff files as of 4f05fde794 so the COPY
command for *.diff makes building the container fail.
2022-03-23 16:23:23 +01:00
Michael Mayer
e83f3160ee Docker: Update DOCKER_ENV in bullseye/bookworm-slim Dockerfile #2178 2022-03-23 14:52:11 +01:00
Michael Mayer
6c6d4d5dd0 Docker: Update software sources in bookworm/sources.list #2178 2022-03-23 13:45:59 +01:00
Michael Mayer
7f943d2f3f Docker: Upgrade ARMv7 base image to Debian 12 "Bookworm" #2178 2022-03-23 13:39:45 +01: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
cb89a1a189 Docker: Update default PATH and dist scripts #2125 2022-03-23 08:33:44 +01:00
Michael Mayer
ea3a6e6e0a Docker: Add experimental Debian 12 "Bookworm" base images #2125 2022-03-23 07:51:33 +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
0ee686ffb1 Docker: Make sure /sbin/gosu exists and has the right permissions #2120
see https://github.com/photoprism/photoprism/discussions/2120
2022-03-17 17:02:38 +01:00
Michael Mayer
ca7a351080 Docker: Make sure /photoprism is readable and writable #2146 #2149 2022-03-16 19:27:39 +01:00
Michael Mayer
5dce02ebbd Docker: Use absolute command names to avoid path problems #2146 #2149 2022-03-16 19:09:53 +01:00
Michael Mayer
8787c9dffb Develop: Upgrade bullseye base image from Go v1.17.8 to v1.18.0 2022-03-16 17:35:54 +01:00
Michael Mayer
f5aee956af CI: Exclude Docker image scripts from build package #2076 2022-03-11 10:30:18 +01:00
Michael Mayer
d9d0af4bb8 Develop: Upgrade base image from 220302 to 220311-bullseye #2076
Dockerfiles were also updated for improved readability.
2022-03-11 09:40:04 +01:00
Michael Mayer
c91fa51be7 Docker: Move init scripts to /scripts and rename $DOCKER_ARCH #2076
DOCKER_ARCH has been renamed to PHOTOPRISM_ARCH as it can be used
for installing deps outside of Docker environments as well.
2022-03-11 09:05:42 +01:00
Michael Mayer
5b7f49965e Docker: Add newline to ARMv7 and ARM64 README heading 2022-03-02 16:13:00 +01:00
Michael Mayer
754e11a9af Docker: Update ARMv7 and ARM64 README files 2022-03-02 16:07:24 +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
d78cc31f72 Docker: Fix entrypoint-init.sh script for non-root users #1337 #2076 2022-03-02 10:30:07 +01:00
Michael Mayer
c0bb3a2062 Docker: Improve docs in docker-compose.yml examples #2076 2022-03-01 18:40:04 +01:00
Michael Mayer
3fe573845c Docker: Use common entrypoint.sh script for develop and prod env #2076 2022-03-01 13:55:05 +01:00
Michael Mayer
0a1cfad8d4 Frontend: Consistent UI/UX across all browsers, devices, and OS #98
Ensures that the new login screen looks good and works properly on
all supported devices. Work in progress, needs more testing.
2022-02-28 17:53:21 +01:00
Michael Mayer
f2a7ead9c9 Docker: Remove "debian-security" from Debian 10 sources #1337 2022-02-25 17:13: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
c16ae62d3e Tests: Pre-install testcafe in develop base images 2022-02-23 12:10:34 +01:00
Michael Mayer
085a16eb46 Docker: Build prod images from develop:bullseye-slim
Reduces build time and, ideally, download size.
2022-02-22 10:10:57 +01:00
Michael Mayer
d3564f7682 Docker: Add experimental develop:bullseye-slim image for testing 2022-02-21 20:20:57 +01:00
Michael Mayer
0e7dd5e3f8 Docker: Improve log messages in entrypoint.sh scripts 2022-02-21 10:56:27 +01:00
Michael Mayer
c3ca05c609 Docker: Update ARMv7 und ARM64 README files 2022-02-20 18:31:16 +01:00
Michael Mayer
27eae60805 Docker: Update preview image name in ARMv7 README file 2022-02-20 18:10:19 +01:00
Michael Mayer
a9193c47a9 Docker: Remove GOPROXY and GODEBUG args from all images 2022-02-20 16:55:25 +01:00
Michael Mayer
3e9d758bc4 Docker: Remove GOPROXY and GODEBUG from args ARMv7 develop images 2022-02-20 16:45:06 +01:00
Michael Mayer
adeaab919a Docker: Use debian:bullseye-slim as ARMv7 develop base image 2022-02-20 16:15:54 +01:00
Michael Mayer
6ddbae85cc Docker: Improve info logs in entrypoint.sh scripts 2022-02-20 15:05:04 +01:00
Michael Mayer
8707443ee5 Docker: Enable sudo for all users in develop images 2022-02-20 14:43:16 +01:00
Michael Mayer
2f8d406747 Docker: Improve logging in entrypoint.sh scripts 2022-02-20 14:25:20 +01:00
Michael Mayer
20b3e6a268 Docker: Improve user id switching in entrypoint.sh scripts 2022-02-20 14:23:24 +01:00
Michael Mayer
053394c969 Docker: Improve umask and logging in entrypoint.sh scripts 2022-02-20 14:02:13 +01:00
Michael Mayer
a48d61853d Docker: Update DOCKER_ENV in production images 2022-02-20 13:19:01 +01:00
Michael Mayer
eb862fb000 Docker: Improve entrypoint.sh scripts 2022-02-20 12:50:37 +01:00
Michael Mayer
8f424a91d5 Docker: Fix build tag variable name in entrypoint.sh scripts 2022-02-20 12:37:37 +01:00
Michael Mayer
0e0f5fd132 Docker: Improve entrypoint.sh scripts and dev/prod builds 2022-02-20 12:23:06 +01:00
Michael Mayer
c5b2550550 Docker: Remove mariadb 10.6 client from ARMv7 prod image (incompatible) 2022-02-19 19:30:00 +01:00
Michael Mayer
24499dcc47 Docker: Reduce size of ARMv7 base image 2022-02-19 18:59:32 +01:00
Michael Mayer
68cbefdf29 Docker: Update ARMv7 base image 2022-02-19 18:46:09 +01:00
Michael Mayer
fc2aa02dee Docker: Run fewer commands in prod image builds 2022-02-19 17:57:09 +01:00
Michael Mayer
5a997105d7 Docker: Update README.md 2022-02-19 17:38:36 +01:00
Michael Mayer
e154509bdd Docker: Improve inline base image descriptions 2022-02-19 17:36:39 +01:00
Michael Mayer
5e4c57c58b Docker: Fix ARMv7 develop image Dockerfile 2022-02-19 16:22:41 +01:00
Michael Mayer
c7e076b72e Docker: Install devtools and Go in Ubuntu Impish base image 2022-02-19 15:58:56 +01:00
Michael Mayer
4247066c1b Docker: Reduce image layers and improve build scripts 2022-02-19 15:32:52 +01:00
Michael Mayer
88cc1b3a73 Docker: Move build init scripts 2022-02-18 17:40:58 +01:00
Michael Mayer
a86e0bbde8 Docker: Add install-mariadb-client.sh script 2022-02-17 15:48:55 +01:00
Michael Mayer
c1222b2572 Docker: Add install-nodejs.sh script 2022-02-17 13:54:42 +01:00
Michael Mayer
c76d0e27ba RAW: Add install-darktable.sh script #445 #1632
This will install a newer version from opensuse.org if possible.
2022-02-17 13:45:43 +01:00
Michael Mayer
ef2b07f8d5 Docker: Add cleanup script for preview and release builds 2022-02-16 18:13:18 +01:00