# docker-compose.yml # Lychee GitHub: https://hub.docker.com/r/lycheeorg/lychee # The Chevereto WebUI can be found at http://: # MariaDB Docker Hub: https://hub.docker.com/_/mariadb volumes: lychee-db: networks: : external: true services: lychee: container_name: lychee depends_on: - lychee-db environment: #- PUID=1000 #- PGID=1000 # PHP timezone e.g. PHP_TZ=America/New_York - PHP_TZ=UTC - TIMEZONE=UTC #- APP_NAME=Laravel #- APP_ENV=local #- APP_FORCE_HTTPS=false #- APP_DEBUG=true #- APP_URL=http://localhost #- LOG_CHANNEL=stack - DB_CONNECTION=mysql - DB_HOST=lychee-db - DB_PORT=3306 - DB_DATABASE=lychee - DB_USERNAME=lychee - DB_PASSWORD= #- DB_DROP_CLEAR_TABLES_ON_ROLLBACK=false #- DB_OLD_LYCHEE_PREFIX='' #- BROADCAST_DRIVER=log #- CACHE_DRIVER=file #- SESSION_DRIVER=file #- SESSION_LIFETIME=120 #- QUEUE_DRIVER=sync #- SECURITY_HEADER_HSTS_ENABLE=false #- REDIS_HOST=127.0.0.1 #- REDIS_PASSWORD=null #- REDIS_PORT=6379 #- MAIL_DRIVER=smtp #- MAIL_HOST=smtp.mailtrap.io #- MAIL_PORT=2525 #- MAIL_USERNAME=null #- MAIL_PASSWORD=null #- MAIL_ENCRYPTION=null #- PUSHER_APP_ID='' #- PUSHER_APP_KEY='' #- PUSHER_APP_SECRET='' #- PUSHER_APP_CLUSTER=mt1 - STARTUP_DELAY=30 image: lycheeorg/lychee: networks: - ports: - "90:80" # WebUI Port restart: unless-stopped volumes: - ./lychee/conf:/conf - ./lychee/uploads:/uploads - ./lychee/sym:/sym lychee-db: container_name: lychee-db environment: - MYSQL_ROOT_PASSWORD= - MYSQL_DATABASE=lychee - MYSQL_USER=lychee - MYSQL_PASSWORD= image: mariadb: networks: - restart: unless-stopped volumes: - lychee-db:/var/lib/mysql