36 lines
784 B
YAML
Executable file
36 lines
784 B
YAML
Executable file
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
|
|
profiles: ["disabled"]
|
|
|
|
networks:
|
|
photo-frontend:
|
|
name: photo-frontend
|
|
photo-backend:
|
|
name: photo-backend
|
|
|
|
volumes:
|
|
lychee_conf:
|
|
lychee_uploads:
|
|
lychee_sym:
|