Public | Automated Build

Last pushed: 2 years ago
Short Description
Forked from kdelfour/lychee. No Internal MySQL. Based on phusion/baseimage.
Full Description

Lychee Dockerfile

This repository contains Dockerfile of Lychee for Docker's automated build published to the public Docker Hub Registry.

Credits

This was forked from kdelfour/lychee-docker, and I based it off of his build file.
Please check out his repository kdelfour/lychee-docker.

I also used bobmaerten's Dockerfile at bobmaerten/docker-wallabag as a basis for switching the base to phusion/baseimage.

Image Details

  • This image is based on kdelfour/lychee-docker, but the base was switched to phusion/baseimage-docker from dockerfile/supervisor (which has been deprecated).
  • This image does not include mysql. You will have to point it to an external or linked mysql server.
  • If you would like a version with mysql built in please check out kdelfour's version. You can find it in his repository here: kdelfour/lychee-docker.
  • You should probably map the exposed /uploads and /data to directories outside the container for data persistence. Check here for suggestions on how to do that
  • If you choose to map the exposed directories, the directories you will need to create elsewhere are /uploads, /uploads/thumb, /uploads/medium, /uploads/import, /uploads/big, and /data. They should all have permissions set to 777.

Base Docker Image

phusion/baseimage-docker

Installation

Install Docker.

Download automated build from public Docker Hub Registry: docker pull neosar/lychee-docker

(alternatively, you can build an image from Dockerfile: docker build -t="neosar/lychee-docker" github.com/neosar/lychee-docker)

Usage

docker run -it -d -p 80:80 neosar/lychee-docker

You can add a shared directory as a volume directory with the argument -v /your-path/uploads/:/uploads/ -v /your-path/data/:/data/ like this :

docker run -it -d -p 80:80 -v /your-path/uploads/:/uploads/ -v /your-path/data/:/data/ neosar/lychee-docker

Build and run with custom config directory

Get the latest version from github

git clone https://github.com/neosar/lychee-docker
cd lychee-docker/

Build it

sudo docker build --force-rm=true --tag="$USER/lychee-docker:latest" .

And run

sudo docker run -d -p 80:80 -v /your-path/uploads/:/uploads/ -v /your-path/data/:/data/ $USER/lychee-docker:latest

Enjoy !!

Docker Pull Command
Owner
neosar
Source Repository

Comments (1)
thelinuxguy
a year ago

Could you please update the image