[add]mariadb
This commit is contained in:
parent
1012859d4c
commit
55ede40ebc
1 changed files with 15 additions and 3 deletions
|
@ -1,16 +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: lscr.io/linuxserver/piwigo
|
||||
image: ghcr.io/linuxserver/piwigo
|
||||
container_name: piwigo
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/London
|
||||
volumes:
|
||||
- ./config>:/config
|
||||
- ./config:/config
|
||||
- ./gallery:/gallery
|
||||
ports:
|
||||
- 8002:80
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
piwigo-db:
|
Loading…
Add table
Reference in a new issue