Commit Graph

56 Commits

Author SHA1 Message Date
Kostiantyn
1b3ebc3ce7 Bump PostgreSQL image to version 17; add the auto-migrate preparation service (#1281)
* Bump PostgreSQL image to version 17; add the auto-migrate preparation service

* Address bot's comments

* Fix many warnings in the Readme; added better explanations

* Address bot's comments

* And a few more comments addressed

* 1 more small wording fix

* Better clarify the HW acceleration options

* add link to the pgsql upgrade guide

---------

Co-authored-by: Konstantin Koval
2025-08-21 23:20:44 +03:00
Googol Lee
03b290eba7 Update API with Debian trixie (#1286)
Fix #1273.

- Cleanup `libatlas-base-dev`

  `ATLAS` is an optimized BLAS implementation. Today, the project looks dead. The last stable release (3.10.3)
happened in 2016. The last development release (3.11.41, not packaged) was in 2018. The git repository has seen no commit since 2019. Debian decided to [remove all `libatlas` packages](https://lists.debian.org/debian-science/2023/07/msg00010.html), including `libatlas-base-dev` from `trixie`.

  `libatlas-base-dev` provides a unique `cblas` package with `pkg-config`. Debian provides [`blas`](https://lists.debian.org/debian-science/2023/07/msg00012.html) to cover all the feature in `cblas`. `go-face` already depends on [`blas`](0c14797b4d/face.go (L4)), and it's safe to remove `cblas`.

  Maybe we should fork `go-face` and put those changes in the foked repo.

- Renaming `exiftool`

  In `trixie`, `exiftool` package is renamed as `libimage-exiftool-perl`.
2025-08-20 21:29:03 +02:00
Kostiantyn
ff5b83916c A few small fixes for bugs, detected during the merge upstream changes to my forked repo (#1270)
* Migrate GolangCI config to the latest version; fix nll-pointer exception in the external EXIF parser and order of GPS coords in the internal one; updated links in Readme and added missing LibHeif exports

* Improve GPS error handling

---------

Co-authored-by: Konstantin Koval
2025-08-19 16:34:46 +03:00
Tyler Hagen
4cb5834661 Update macos local development dependencies (#1268)
* Add needed homebrew formulae and corresponding compiler settings for macos to run api

* coderabbitai feedback

* Don't set CPLUS_INCLUDE_PATH de-novo
2025-08-07 17:40:20 +03:00
Kostiantyn
0fb6636ead Switch all images to the new registry (#1109)
* Switch all images to the new registry

* Update compose files

* Update Readme

* Fix several merge issues.

---------

Co-authored-by: Konstantin Koval
2024-11-03 08:42:37 +02:00
Googol Lee
4303b71311 Use hardware acceleration when converting videos. (#1056) 2024-10-11 22:27:56 +02:00
Amandus
8e602f8d2b docs: Add reminder to url encode postgres password env variable (#1041) 2024-09-06 17:49:48 +02:00
Googol Lee
d91ce8ff42 Rollback uid/gid to 999. (#1044) 2024-09-06 15:34:32 +02:00
Googol Lee
a6cbfc76f3 Back to bookworm. (#1040) 2024-09-06 13:32:22 +02:00
Googol Lee
85c1e52b06 Use alpine as base images. (#1033) 2024-09-02 18:35:45 +02:00
Googol Lee
ad13172a32 Switch to Debian testing and imagemagick. (#1021) 2024-08-29 10:30:06 +02:00
Googol Lee
bb66a8b791 Fix release version and date in UI. (#1025) 2024-08-27 21:46:29 +02:00
Googol Lee
ebcbe6c057 Update workflow using Dockerfile. (#1003) 2024-08-03 23:17:54 +02:00
Googol Lee
bdae9a67ce Add Set up Docker development environment in README.md (#997) 2024-07-23 21:56:30 +02:00
Googol Lee
0345bc1481 Update Set up development environment in README.md. (#995) 2024-07-16 23:10:38 +02:00
Blake Schafer
dad4533983 Create CONTRIBUTING.md (#943)
* Create CONTRIBUTING.md

Creating a resource file for any developer who wants to contribute to this open-source project. Adding more details than what was already provided, giving a detailed walkthrough for newcomers on how to make changes in the code.

* Implement the suggestions from the feedback, as well as merge the template from the discussion #934

---------

Co-authored-by: Konstantin Koval <kkb@ukr.net>
2024-07-09 20:56:01 +02:00
Kostiantyn
f79d379e38 Urgent small fixes in the Dockerfile and Compose configs (#972)
* Freeze UID and GID for the `photoview` user inside the image; added alternative permission configs description to the Readme and Makefile (as a comment); switched the default tag in the compose from `2` to `master`, as this is the most common user misunderstanding according to the issues and Discord questions

* Revert back to the tag `2` with the assumption of the release happening soon

---------

Co-authored-by: Konstantin Koval
2024-06-23 14:28:02 +02:00
Kostiantyn
0193f7703d Refactor docker deployment and user setup (#863)
* Fix #862, address #826 and maybe some other tickets: reimplemented the docker-compose user setup to enhance product setup experience and cover much more cases.

* make unique DB container name and use it in communication from Photoview

* Removed unnecessary healthcheck for photoview from docker-compose.example.yml, as it is defined in the Dockerfile; optimized Dockerfile combining all RUN directives of PROD stage into 1, which will produce single layer and save some space; added Dockerfile-dev, docker-compose-dev.yml, and new "dev" and "dev-down" directives into Makefile, which allows to setup development env in Docker. Instructions of how to use it are in comments at the beginning of Dockerfile-dev and docker-compose-dev.yml files

* Set RWX permissions to the application's working folder for any user, so that the image could be later run with non-root permissions and the app still be able to do needed operations in the FS

* Enhanced the "Getting started" section in the readme; added the `help` target and enhanced comments in the Makefile; commented out the `docker system prune -f` with the comment about the command and why it is there; added optional and commented by default `7zz` commands to the `backup` section of the Makefile

* Use `slim` base image for final photoview image

* Implement SQLite support according to the PR #851

* Removed deprecated `version` line from compose files; optimized dockerfile to build with less layers and run as non-root; mapped only Photoview related services to Watchtower by default instead of updating all running images on a host; added template for Postgres to the .env; reverted compose executable definition, so the new compose is called when present; added a tip about `lnav` to help

* fix a typo in the username; add support of PostgreSQL; split and optimize backup target in Makefile

* Fixed some typos and styling in Readme, excluded dev-environment setup from the PR; added a list of tips on how to secure Photoview in the Advanced setup section of Readme

* Implemented many security improvements, suggested by @Omar007, switched to the dedicated Darktable's repo to install the latest released version, as asked in #935; switched Watchtower to labels instead of profiles

* forgot the compose file

* move face models back to /app folder; comment out and document unnecessary vars in compose; fix a typo in a few vars

* Exclude Makefile in the root folder from git; documented multiple mounts case better; fixed incorrect SQLite DB path

* Fixed several bugs after complete testing cycle with all 3 DBs

* removed hardcoded port in Dockerfile

* Pin the major version for the `photoview` image for stability

* Revert back to the port 80 inside the container on product owner's request

* Provide a minimal compose file and update the readme accordingly

* Handle incorrect media file and folder permissions; set correct permissions for storage folder; fix healthcheck command for postgres

---------

Co-authored-by: Konstantin Koval <kkb@ukr.net>
2024-05-15 10:58:02 +02:00
Viktor Strate Kløvedal
8d78c58859 Update sponsors 2022-03-29 22:29:42 +02:00
feinedsquirrel
adbfa2d8d0 add supported systems and systemd files 2021-09-10 22:39:39 -06:00
Viktor Strate Kløvedal
bb613345ee Merge pull request #505 from benpro/patch-2
Install npm dependencies
2021-09-07 16:45:44 +02:00
Benoît S
025d7a02ad Install npm dependencies
It is required to run `npm install`.
2021-09-07 20:46:04 +09:00
Benoît S
2bd656a420 Add go install
It is required to install go modules.
2021-09-05 12:59:42 +09:00
Guy Sheffer
552f7e7bec OwnPhotos is now LibrePhotos
@hooram stopped development and it has been forked and mainted by a community of people
2021-09-02 13:54:32 +03:00
wswongat
b54b9f3855 Update README.md
I found that I have to add these two ppas for libheif and libde265
sudo add-apt-repository ppa:strukturag/libheif
sudo add-apt-repository ppa:strukturag/libde265
2021-07-25 21:10:11 +08:00
Kuba Orlik
44f29075a0 Fix typo in README 2021-07-19 13:38:37 +02:00
viktorstrate
907f6631df Add new sponsors to readme
Thank you @deexno and @FKrauss ❤️
2021-06-29 07:32:34 +02:00
Bishop Clark
19c8dd56b4 Update README.md
'Setup' and 'set up' are as different as noun and verb.
2021-06-05 22:59:54 -07:00
feinedsquirrel
52c2c76169 update Kagami/go-face target commit and new deps for it 2021-06-04 14:45:33 -06:00
viktorstrate
31aa63855b Various changes to the readme
- Add @Revorge to sponsors section <3
- Update logo to use light text in dark mode
- Update API dependencies install guide
- Update introduction section
2021-05-11 23:53:15 +02:00
Viktor Strate Kløvedal
48605e60e0 Add @robin-moser to sponsors section in readme 2021-04-03 21:49:27 +02:00
viktorstrate
a039941dda Add libheif to Dockerfile 2021-03-27 22:30:26 +01:00
Viktor Strate Kløvedal
bb03cb1631 Add sponsor section to readme (#270) 2021-03-26 11:20:41 +01:00
viktorstrate
baa90f9955 Finish up face recognition 2021-02-22 19:46:47 +01:00
viktorstrate
d13a99b678 Update readme screenshot 2021-02-13 17:43:16 +01:00
Viktor Strate Kløvedal
719dd633ce Update Discord link with a new valid url 2021-01-06 23:35:58 +01:00
Viktor Strate Kløvedal
2016489a5f Add link to Discord server in Readme 2021-01-03 20:46:46 +01:00
Viktor Strate Kløvedal
f94d5c6755 Update "Main features" in readme 2020-08-11 23:27:17 +02:00
Viktor Strate Kløvedal
8d9cff8c3b Update docker build status badge 2020-08-10 10:33:36 +02:00
viktorstrate
8c63242a0d Add logo to readme 2020-05-10 15:20:44 +02:00
viktorstrate
de97d4b9bd General readme changes 2020-05-06 22:49:51 +02:00
viktorstrate
05ecaa1eee Cleanup readme + add badges 2020-05-06 22:27:10 +02:00
viktorstrate
2423a0394d Update docker compose example to use image
...instead of building the image.
Also update the docker instructions in the readme.
2020-04-30 15:57:08 +02:00
viktorstrate
5267d67714 Readme: Add updating steps + small changes 2020-04-17 13:37:49 +02:00
Slavik
3c5452e3cf fix default port number
docker-compose has port 8000, but README had 8080. Setting README to 8000, so it match docker-compose
2020-04-13 21:47:22 -07:00
viktorstrate
09ddbae662 Add content section 2020-02-23 21:50:15 +01:00
viktorstrate
b768084b23 Edit readme 2020-02-23 21:43:44 +01:00
viktorstrate
bb8aff6019 Update docker-compose example 2020-02-21 22:49:19 +01:00
viktorstrate
5a0f03268d Update readme 2020-02-10 12:22:42 +01:00
viktorstrate
2ee33a88cf Disable service-worker, change demo link in readme 2020-01-19 23:05:44 +01:00