2024-09-09 10:15:20 +02:00
|
|
|
version: "3.8"
|
2024-09-10 02:45:46 +02:00
|
|
|
|
2024-09-09 10:15:20 +02:00
|
|
|
services:
|
2024-09-10 02:45:46 +02:00
|
|
|
|
2024-09-09 10:15:20 +02:00
|
|
|
piwigo:
|
|
|
|
image: linuxserver/piwigo:14.5.0
|
|
|
|
ports:
|
2024-09-10 02:45:46 +02:00
|
|
|
- "8080:80"
|
2024-09-09 10:15:20 +02:00
|
|
|
volumes:
|
2024-09-10 02:45:46 +02:00
|
|
|
- ./data/config:/config
|
|
|
|
- ./data/gallery:/gallery
|
2024-09-09 10:15:20 +02:00
|
|
|
environment:
|
2024-09-10 02:45:46 +02:00
|
|
|
- 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
|
2024-09-09 10:15:20 +02:00
|
|
|
restart: unless-stopped
|