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 |
I am getting the same as @Baltimorepc @dnburgess
Also, I am getting 502 Bad Gateway nginx
Be sure to check out the official LSIO Docker-Compose: https://hub.docker.com/r/linuxserver/lychee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
im getting this error when installing
failed to pull images of the stack: service "db" refers to undefined volume db: invalid compose project
if i remove the db: string under the volumes on the mariadb it will pull and start but then lychee says it cant connect to maria db but i left everything the same and inputed the ip of the container runnin mariadb it created and still not working?
Any ideas by chance i am trying to set this up so i can create a wedding album so i can create a share link for everyone to upload the wedding pictures for my wedding coming up so its like a photographer free if i can get this to work i had it running off a different database but it just wouldnt work as the pics were just broken thumbnails showing and the diagnostics was complaing about the url since i am using NPM to send to secure https