Created
November 10, 2020 16:42
-
-
Save dnburgess/819a261646f51581b4130c1a5419ec99 to your computer and use it in GitHub Desktop.
DB Tech Lychee Stack
This file contains 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: 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
Correct: