mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 22:29:07 +00:00
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
This commit is contained in:
@@ -56,6 +56,8 @@ start:
|
||||
@# mkdir -p ${HOST_PHOTOVIEW_LOCATION}/database
|
||||
@## The next line is for PostgreSQL
|
||||
@# mkdir -p ${HOST_PHOTOVIEW_LOCATION}/database/postgres
|
||||
@# If you don't want to give 777 permissions to this folder, create a group with GID=999 (or user with UID=999 and group
|
||||
@# with GID=999 and that user) and make the folder being owned by it, so you can give the 570 or 750 permissions correspondingly.
|
||||
mkdir -p ${HOST_PHOTOVIEW_LOCATION}/storage
|
||||
chmod 777 ${HOST_PHOTOVIEW_LOCATION}/storage
|
||||
$(DOCKER_COMPOSE) up -d --remove-orphans
|
||||
|
||||
Reference in New Issue
Block a user