thedocks/piwigo/README.md

43 lines
987 B
Markdown
Raw Normal View History

2021-11-10 21:46:03 +00:00
# piwigo notes
2021-10-24 22:40:22 +01:00
2021-11-10 21:46:03 +00:00
##Setup
2021-12-19 22:40:24 +00:00
2021-11-10 21:46:03 +00:00
1. Ensure empty folders `config` and `gallery`.
1. run `docker-compose up`
1. Activate plugins:
- Presync AutoRename
- LocalFiles Editor
- SmartAlbums
1. Edit local config
```
meta
```
1. Create folder pisacca in `/home/odroid/thedocks/piwigo/gallery/galleries`
1. `mount --bind /mnt/media/pictures/ /home/odroid/thedocks/piwigo/gallery/galleries/picassa`
1. run `Presync AutoRename`
1. Sync
2021-12-19 22:40:24 +00:00
###Source
```
root@n2-plus:/mnt/media#
rsync -av root@odroid-n2.local:/mnt/drive/backups/velvet/PicasaStarter/pictures/Pictures/ pictures/ --delete
```
2021-11-10 21:46:03 +00:00
## Based on
https://github.com/jkirk/docker-piwigo/blob/main/docker-compose.yml
```
#bind
mount --bind /mnt/media/pictures/ /home/odroid/thedocks/piwigo/gallery/galleries/picassa
# undo
umount /home/odroid/thedocks/piwigo/gallery/galleries/picassa
```
# fstab
```
/mnt/drive/backups/velvet/PicasaStarter/pictures/Pictures/ /mnt/drive/docker/projects/piwigo/piwigo/pics none bind
umount```
2021-10-24 22:40:22 +01:00