🌍
English
Hello,
I am trying to get Piwigo running on a Fedora host with docker-compose. I have tried a handful of different options, but cannot get Piwigo to recognize any of my existing images. How/where do I mount my image folder so that Piwigo can see it and I do not have to re-upload everything?
I have tried putting /tank/Public/Photos in every different volume location below, but none of them worked. What am I doing wrong?
Thanks!
version: '3'
services:
db:
image: mariadb:latest
restart: always
privileged: true
volumes:
- db_data:/var/lib/mysql
environment:
MYSQL_DATABASE: piwigodb
MYSQL_USER: piwigo_user
MYSQL_PASSWORD: piwigo_pass
MYSQL_ROOT_PASSWORD: toor
piwigo:
image: linuxserver/piwigo
restart: always
privileged: true
environment:
- PUID=1000
- PGID=1000
- TZ=America/Chicago
ports:
- "8000:80"
links:
- db
depends_on:
- db
volumes:
- /tank/Public/Photos:/config/www/gallery/_data/i
# - PIWIGO_DATA:/var/www/_data/i
# - PIWIGO_GALLERIES:/var/www/galleries
# - PIWIGO_UPLOAD:/var/www/upload
volumes:
db_data:Piwigo version: 2.9.5 linuxerserver.io docker image
PHP version:
MySQL version: Mariadb
Piwigo URL: http://
Offline
You could mount to <piwigo root>/galleries and use FTP sync, see https://piwigo.org/doc/doku.php?id=user … ure#by_ftp
Offline