From 3291b8dd9f0ce10681456dd0ee4393c714325e85 Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Thu, 30 Jun 2022 12:27:23 +0200 Subject: [PATCH] add lychee photo gallery --- .env.default | 1 + photo/docker-compose.lychee.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100755 photo/docker-compose.lychee.yml diff --git a/.env.default b/.env.default index 6852afd..0438d1f 100644 --- a/.env.default +++ b/.env.default @@ -14,6 +14,7 @@ HOST_DOKUWIKI=dokuwiki HOST_PIGALLERY=pigallery HOST_PHOTOVIEW=photoview HOST_PHOTONIX=photonix +HOST_LYCHEE=lychee HOST_SEAFILE=seafile HOST_SELFOSS=selfoss HOST_SHAARLI=shaarli diff --git a/photo/docker-compose.lychee.yml b/photo/docker-compose.lychee.yml new file mode 100755 index 0000000..50077fc --- /dev/null +++ b/photo/docker-compose.lychee.yml @@ -0,0 +1,29 @@ +version: '3.8' + +services: + lychee: + container_name: lychee + environment: + - PHP_TZ=${TZ} + - TIMEZONE=${TZ} + image: lycheeorg/lychee + networks: + - photo-frontend + expose: + - 80 + restart: unless-stopped + volumes: + - ${lychee_conf}:/conf + - ${lychee_uploads}:/uploads + - ${lychee_sym}:/sym + labels: + - traefik.enable=true + - traefik.http.routers.photo.rule=Host(`${HOST_LYCHEE}.${DOMAIN}`) + - traefik.http.routers.photo.entrypoints=https + - traefik.http.routers.photo.tls=true + - traefik.docker.network=photo-frontend + +volumes: + lychee_conf: + lychee_uploads: + lychee_sym: