You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
1.2 KiB
Bash

4 years ago
# Lychee is a free photo-management tool, which runs on your server or web-
# space. Installing is a matter of seconds. Upload, manage and share photos like
# from a native application. Lychee comes with everything you need and all your
# photos are stored securely." ### UPGRADE WARNING Please note that the
# upgrade process resets ALL password-protected albums. Any albums that were
# made public with a password will need to be re-secured.
source ./.env
docker run -d \
--name=lychee \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
-e TZ=Europe/Amsterdam `# Specify a timezone to use for example Europe/Amsterdam` \
-e DB_HOST=mariadb `# for specifying the database host` \
-e DB_USERNAME=lychee `# for specifying the database user` \
-e DB_PASSWORD=dbpassword `# for specifying the database password` \
-e DB_DATABASE=lychee `# for specifying the database to be used` \
-p 80:80 `# http gui` \
-v ${BASEDIR:-/volume1/docker}/lychee/config:/config `# Contains all relevant configuration files.` \
-v ${BASEDIR:-/volume1/docker}/lychee/pictures:/pictures `# Where lychee will store uploaded data.` \
--restart unless-stopped \
ghcr.io/linuxserver/lychee