diff --git a/lsio/lychee/docker-compose.yaml b/lsio/lychee/docker-compose.yaml index cc4347a..522d2e7 100644 --- a/lsio/lychee/docker-compose.yaml +++ b/lsio/lychee/docker-compose.yaml @@ -32,11 +32,12 @@ services: - /path/to/config:/config - /path/to/pictures:/pictures environment: + - DB_CONNECTION=mysql - DB_HOST=mariadb + - DB_PORT=3306 - DB_USERNAME=lychee - DB_PASSWORD=dbpassword - DB_DATABASE=lychee - - DB_PORT=3306 - PGID=1000 - PUID=1000 - TZ=Europe/London diff --git a/lsio/lychee/docker-run.sh b/lsio/lychee/docker-run.sh index 91b051f..5474416 100644 --- a/lsio/lychee/docker-run.sh +++ b/lsio/lychee/docker-run.sh @@ -12,6 +12,7 @@ docker run -d \ -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=mysql `# for specifying the database type` \ -e DB_HOST=mariadb `# for specifying the database host` \ -e DB_PORT=3306 `# for specifying the database port` \ -e DB_USERNAME=lychee `# for specifying the database user` \