Skip to main content

Lychee

version: "3"
services:
  mariadb:
    image: ghcr.io/linuxserver/mariadb:latest
    container_name: lychee_mariadb
    restart: unless-stopped
    volumes:
      - /srv/path/Files/Lychee/mariadb/data:/config
    environment:
      - MYSQL_ROOT_PASSWORD=xxxxxx
      - MYSQL_DATABASE=lychee
      - MYSQL_USER=lychee
      - MYSQL_PASSWORD=xxxxxx
      - PGID=998
      - PUID=100
      - TZ=Europe/Paris
  lychee:
    image: ghcr.io/linuxserver/lychee:latest
    container_name: lychee
    restart: unless-stopped
    depends_on:
      - mariadb
    volumes:
      - /srv/path/Files/Lychee/config:/config
      - /srv/path/Files/Lychee/pictures:/pictures
    environment:
      - DB_HOST=mariadb
      - DB_USERNAME=lychee
      - DB_PASSWORD=xxxxxx
      - DB_DATABASE=lychee
      - DB_PORT=3306
      - PGID=998
      - PUID=100
      - TZ=Europe/Paris
    ports:
      - 6996:80