Added the lychee-stack

main
capntack 2 years ago
parent 2bed1bea0e
commit a73115417e

@ -0,0 +1,80 @@
# docker-compose.yml
# Lychee GitHub: https://hub.docker.com/r/lycheeorg/lychee
# The Chevereto WebUI can be found at http://<HOST_IP>:<LYCHEE_WEBUI_PORT>
# MariaDB Docker Hub: https://hub.docker.com/_/mariadb
volumes:
lychee-db:
networks:
<NETWORK_NAME>:
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_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:<VERSION_TAG>
networks:
- <NETWORK_NAME>
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=<ROOT_PASSWORD>
- MYSQL_DATABASE=lychee
- MYSQL_USER=lychee
- MYSQL_PASSWORD=<DB_PASSWORD>
image: mariadb:<VERSION_TAG>
networks:
- <NETWORK_NAME>
restart: unless-stopped
volumes:
- lychee-db:/var/lib/mysql
Loading…
Cancel
Save