Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Created November 10, 2020 16:42
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/819a261646f51581b4130c1a5419ec99 to your computer and use it in GitHub Desktop.
Save dnburgess/819a261646f51581b4130c1a5419ec99 to your computer and use it in GitHub Desktop.
DB Tech Lychee Stack
---
version: "2.1"
services:
lychee:
image: ghcr.io/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: always
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
@roulette6
Copy link

Hello. I came here based on your YouTube video and blog post. Note that your cb command is missing the double hyphens and the db container therefore fails repeatedly. I corrected the error when I saw the syntax difference on your video.

Incorrect:

command: –transaction-isolation=READ-COMMITTED –binlog-format=ROW

Correct:

command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment