Created
August 3, 2020 15:01
-
-
Save dnburgess/e232ebc7a8cd631202c0ab74f69384f7 to your computer and use it in GitHub Desktop.
DB Tech Lychee Docker Container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: "2.1" | |
services: | |
lychee: | |
image: linuxserver/lychee | |
container_name: lychee | |
environment: | |
- PUID=998 | |
- PGID=100 | |
- TZ=America/Denver | |
- DB_HOST=172.17.0.6 #This will be the IP of YOUR DB Container | |
- DB_USERNAME=lychee | |
- DB_PASSWORD=lychee | |
- DB_DATABASE=lychee | |
volumes: | |
- /srv/dev-disk-by-label-Files/config/Lychee:/config | |
- /srv/dev-disk-by-label-Files/Pictures:/pictures | |
ports: | |
- 8124:80 | |
restart: unless-stopped | |
db: | |
image: mariadb | |
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW | |
restart: always | |
volumes: | |
- db:/var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=lychee | |
- MYSQL_PASSWORD=lychee | |
- MYSQL_DATABASE=lychee | |
- MYSQL_USER=lychee |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Be sure to check out the official LSIO Docker-Compose: https://hub.docker.com/r/linuxserver/lychee