Workflow update
parent
fca5bdac0f
commit
9c76c463b8
@ -1,46 +1,45 @@
|
|||||||
# [Lychee](https://lycheeorg.github.io/) is a free photo-management tool, which
|
# [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,
|
# 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
|
# manage and share photos like from a native application. Lychee comes with
|
||||||
# everything you need and all your photos are stored securely.' ### UPGRADE
|
# everything you need and all your photos are stored securely.'
|
||||||
# WARNING Please note that the v4 upgrade process resets ALL password-protected
|
|
||||||
# albums. Any albums that were made public with a password will need to be re-
|
|
||||||
# secured.
|
|
||||||
|
|
||||||
version: "3"
|
---
|
||||||
|
version: "2.1"
|
||||||
services:
|
services:
|
||||||
mariadb:
|
|
||||||
image: lscr.io/linuxserver/mariadb:latest
|
|
||||||
container_name: lychee_mariadb
|
|
||||||
restart: always
|
|
||||||
volumes:
|
|
||||||
- /path/to/mariadb/data:/config
|
|
||||||
environment:
|
|
||||||
- MYSQL_ROOT_PASSWORD=rootpassword
|
|
||||||
- MYSQL_DATABASE=lychee
|
|
||||||
- MYSQL_USER=lychee
|
|
||||||
- MYSQL_PASSWORD=dbpassword
|
|
||||||
- PGID=1000
|
|
||||||
- PUID=1000
|
|
||||||
- TZ=Europe/London
|
|
||||||
lychee:
|
lychee:
|
||||||
image: lscr.io/linuxserver/lychee:latest
|
image: ghcr.io/linuxserver/lychee
|
||||||
container_name: lychee
|
container_name: lychee
|
||||||
restart: always
|
|
||||||
depends_on:
|
|
||||||
- mariadb
|
|
||||||
volumes:
|
|
||||||
- /path/to/config:/config
|
|
||||||
- /path/to/pictures:/pictures
|
|
||||||
environment:
|
environment:
|
||||||
- DB_CONNECTION=mysql
|
# for UserID
|
||||||
- DB_HOST=mariadb
|
- PUID=${PUID:-1024}
|
||||||
- DB_PORT=3306
|
# for GroupID
|
||||||
- DB_USERNAME=lychee
|
- PGID=${PGID:-100}
|
||||||
- DB_PASSWORD=dbpassword
|
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
|
||||||
- DB_DATABASE=lychee
|
- TZ=${TZ:-Europe/Amsterdam}
|
||||||
- PGID=1000
|
# DB type, from `sqlite`, `mysql`, `pqsql`.
|
||||||
- PUID=1000
|
- DB_CONNECTION=
|
||||||
- TZ=Europe/London
|
# DB server hostname. For `mysql` and `pgsql` only.
|
||||||
|
- DB_HOST=
|
||||||
|
# DB server port. For `mysql` and `pgsql` only.
|
||||||
|
- DB_PORT=
|
||||||
|
# DB user. For `mysql` and `pgsql` only.
|
||||||
|
- DB_USERNAME=
|
||||||
|
# DB password. For `mysql` and `pgsql` only.
|
||||||
|
- DB_PASSWORD=
|
||||||
|
# Path to DB file for `sqlite`. DB name for `mysql` and `pgsql`.
|
||||||
|
- DB_DATABASE=
|
||||||
|
# The gallery name.
|
||||||
|
- APP_NAME=Lychee # optional
|
||||||
|
# The URL you will use to access Lychee including protocol, and port where appropriate.
|
||||||
|
- APP_URL= # optional
|
||||||
|
# Set to `true` if running behind an https reverse proxy.
|
||||||
|
- APP_FORCE_HTTPS= # optional
|
||||||
|
volumes:
|
||||||
|
# Persistent config files.
|
||||||
|
- ${BASEDIR:-/volume1/docker}/lychee/config:/config
|
||||||
|
# Where lychee will store uploaded images.
|
||||||
|
- ${BASEDIR:-/volume1/docker}/lychee/pictures:/pictures
|
||||||
ports:
|
ports:
|
||||||
|
# http gui
|
||||||
- 80:80
|
- 80:80
|
||||||
|
restart: unless-stopped
|
||||||
|
Loading…
Reference in New Issue