Skip to content

Instantly share code, notes, and snippets.

@pcnoic
Created June 22, 2021 12:31
Show Gist options
  • Save pcnoic/8aa4f67fc3b18f572474e7bce592e48c to your computer and use it in GitHub Desktop.
Save pcnoic/8aa4f67fc3b18f572474e7bce592e48c to your computer and use it in GitHub Desktop.
---
version: "2.1"
services:
piwigo:
image: ghcr.io/linuxserver/piwigo
container_name: piwigo
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- ./config:/config
- ./photos:/gallery
ports:
- 90:80
restart: unless-stopped
db:
image: mysql:5.7
volumes:
- ./db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: piwigo
MYSQL_USER: user
MYSQL_PASSWORD: user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment