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.

26 lines
1.5 KiB
Bash

# [Lychee](https://lycheeorg.github.io/) 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.'
. ./.env
docker run -d \
--name=lychee \
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
-e DB_CONNECTION= `# DB type, from `sqlite`, `mysql`, `pqsql`.` \
-e DB_HOST= `# DB server hostname. For `mysql` and `pgsql` only.` \
-e DB_PORT= `# DB server port. For `mysql` and `pgsql` only.` \
-e DB_USERNAME= `# DB user. For `mysql` and `pgsql` only.` \
-e DB_PASSWORD= `# DB password. For `mysql` and `pgsql` only.` \
-e DB_DATABASE= `# Path to DB file for `sqlite`. DB name for `mysql` and `pgsql`.` \
-e APP_NAME=Lychee `# optional` `# The gallery name.` \
-e APP_URL= `# optional` `# The URL you will use to access Lychee including protocol, and port where appropriate.` \
-e APP_FORCE_HTTPS= `# optional` `# Set to `true` if running behind an https reverse proxy.` \
-p 80:80 `# http gui` \
-v ${BASEDIR:-/volume1/docker}/lychee/config:/config `# Persistent config files.` \
-v ${BASEDIR:-/volume1/docker}/lychee/pictures:/pictures `# Where lychee will store uploaded images.` \
--restart unless-stopped \
ghcr.io/linuxserver/lychee