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: