docker-bits/lsio/photoshow/docker-run.sh
2022-04-02 00:45:58 +00:00

16 lines
781 B
Bash

# [Photoshow](https://github.com/thibaud-rohmer/PhotoShow) is gallery software
# at its easiest, it doesn't even require a database.
source ./.env
docker run -d \
--name=photoshow \
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
-p 80:80 `# WebUI` \
-v ${BASEDIR:-/volume1/docker}/photoshow/config:/config `# Stores config and logs for nginx base.` \
-v ${BASEDIR:-/volume1/docker}/photoshow/Pictures:ro:/Pictures:ro `# Your local folder of photos you wish to share.` \
-v ${BASEDIR:-/volume1/docker}/photoshow/Thumbs:/Thumbs `# Local folder to store thumbnails of your images.` \
--restart unless-stopped \
ghcr.io/linuxserver/photoshow