Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Created October 15, 2020 15:59
Show Gist options
  • Select an option

  • Save dnburgess/b0225aea76fd4a7af43adefee337975c to your computer and use it in GitHub Desktop.

Select an option

Save dnburgess/b0225aea76fd4a7af43adefee337975c to your computer and use it in GitHub Desktop.
DB Tech Lychee
---
version: "2.1"
services:
lychee:
image: linuxserver/lychee
container_name: lychee
environment:
- PUID=998
- PGID=100
- TZ=America/Denver
- DB_HOST=db
- 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
links:
- db:db
restart: unless-stopped
db:
image: mariadb
command: –transaction-isolation=READ-COMMITTED –binlog-format=ROW
restart: always
volumes:
– /srv/dev-disk-by-label-Files/db/Lychee:/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