[add] code-server
This commit is contained in:
parent
2d615f191a
commit
5fd946c04d
11 changed files with 144 additions and 43 deletions
|
|
@ -1,4 +1,36 @@
|
|||
# piwigo setup
|
||||
# piwigo notes
|
||||
|
||||
##Setup
|
||||
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
|
||||
|
||||
## 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```
|
||||
|
||||
https://github.com/jkirk/docker-piwigo/blob/main/docker-compose.yml
|
||||
|
|
@ -1,28 +1,28 @@
|
|||
---
|
||||
version: "2.1"
|
||||
services:
|
||||
piwigo-db:
|
||||
env_file:
|
||||
- piwigo-db.env
|
||||
image: mariadb:10.5
|
||||
container_name: piwigo-db
|
||||
volumes:
|
||||
- piwigo-db:/var/lib/mysql
|
||||
restart: unless-stopped
|
||||
|
||||
piwigo:
|
||||
image: ghcr.io/linuxserver/piwigo
|
||||
container_name: piwigo
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/London
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- ./gallery:/gallery
|
||||
ports:
|
||||
- 8002:80
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
---
|
||||
version: "2.1"
|
||||
services:
|
||||
piwigo-db:
|
||||
env_file:
|
||||
- piwigo-db.env
|
||||
image: mariadb:10.5
|
||||
container_name: piwigo-db
|
||||
volumes:
|
||||
- piwigo-db:/var/lib/mysql
|
||||
restart: unless-stopped
|
||||
|
||||
piwigo:
|
||||
image: ghcr.io/linuxserver/piwigo
|
||||
container_name: piwigo
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/London
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- ./gallery:/gallery
|
||||
ports:
|
||||
- 8002:80
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
piwigo-db:
|
||||
Loading…
Add table
Add a link
Reference in a new issue