add lychee photo gallery

This commit is contained in:
Yax 2022-06-30 12:27:23 +02:00
parent 64f8fa46ef
commit 3291b8dd9f
2 changed files with 30 additions and 0 deletions

View file

@ -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

29
photo/docker-compose.lychee.yml Executable file
View file

@ -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: