Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Created August 3, 2020 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dnburgess/e232ebc7a8cd631202c0ab74f69384f7 to your computer and use it in GitHub Desktop.
Save dnburgess/e232ebc7a8cd631202c0ab74f69384f7 to your computer and use it in GitHub Desktop.
DB Tech Lychee Docker Container
---
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