From 5ee81095e7c306f51670e2816c965269c59bf3f3 Mon Sep 17 00:00:00 2001 From: Darshit Patel Date: Sun, 9 Jun 2024 16:38:26 +0530 Subject: [PATCH 1/2] Fix Piwigo startup and docs for #614 --- roles/piwigo/defaults/main.yml | 4 ++-- website/docs/applications/other/piwigo.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/piwigo/defaults/main.yml b/roles/piwigo/defaults/main.yml index efdcfd7c54..2b11efda0c 100644 --- a/roles/piwigo/defaults/main.yml +++ b/roles/piwigo/defaults/main.yml @@ -8,8 +8,8 @@ piwigo_data_directory: "{{ docker_home }}/piwigo/data" piwigo_photos: "{{ photos_root }}/piwigo" # uid / gid -piwigo_user_id: "0" -piwigo_group_id: "0" +piwigo_user_id: "1" +piwigo_group_id: "1" piwigo_mysql_user: "piwigo" piwigo_mysql_password: "piwigo" piwigo_mysql_root_password: "piwigo" diff --git a/website/docs/applications/other/piwigo.md b/website/docs/applications/other/piwigo.md index 4a333894e4..12327236e6 100644 --- a/website/docs/applications/other/piwigo.md +++ b/website/docs/applications/other/piwigo.md @@ -23,8 +23,8 @@ Optional configurations: - Set `piwigo_mysql_root_password` in `inventories//group_vars/nas.yml` before installing Piwigo, this defaults to "piwigo". - On first run you'll need to enter database details: - - Host: `db:3306` - - Username: the value of piwigo_mysql_user, defaults to "piwigo" - - Password: the value of piwigo_password, defaults to "piwigo" + - Host: `piwigo-db` + - Username: the value of piwigo_mysql_user, defaults to `piwigo` + - Password: the value of piwigo_password, defaults to `piwigo` - Database Name: `piwigo` - Database tables prefix: should be prefilled with `piwigo_` From a2cc254b1afdb13ea40a4cfb79f6a666a375542d Mon Sep 17 00:00:00 2001 From: Darshit Patel Date: Tue, 25 Jun 2024 21:10:50 +0530 Subject: [PATCH 2/2] Change uid and gid to 1000 --- roles/piwigo/defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/piwigo/defaults/main.yml b/roles/piwigo/defaults/main.yml index 2b11efda0c..a5de2d13fd 100644 --- a/roles/piwigo/defaults/main.yml +++ b/roles/piwigo/defaults/main.yml @@ -8,8 +8,8 @@ piwigo_data_directory: "{{ docker_home }}/piwigo/data" piwigo_photos: "{{ photos_root }}/piwigo" # uid / gid -piwigo_user_id: "1" -piwigo_group_id: "1" +piwigo_user_id: "1000" +piwigo_group_id: "1000" piwigo_mysql_user: "piwigo" piwigo_mysql_password: "piwigo" piwigo_mysql_root_password: "piwigo"