1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00

update piwigo

This commit is contained in:
kevin 2024-09-10 08:45:46 +08:00
parent 6d8690cab2
commit afd12e18ef

View File

@ -1,14 +1,31 @@
version: "3.8"
services:
piwigo:
image: linuxserver/piwigo:14.5.0
ports:
- "8080:80"
- "8080:80"
volumes:
- ./data/etc:/config
- ./data/var:/gallery
- ./data/config:/config
- ./data/gallery:/gallery
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
depends_on:
- mysql
restart: unless-stopped
mysql:
image: mysql:8.0-debian
ports:
- "3306:3306"
volumes:
- ./data/mysql:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=piwigo
- MYSQL_USER=piwigo
- MYSQL_PASSWORD=piwigo
restart: unless-stopped