This repository contains the sources that are used to build the h44z/seafile-ce docker image.
It is based on the official docker image (https://github.com/haiwen/seafile-docker).
The image only contains the community edition of Seafile. The build process has been simplified and improved in comparison to the official image.
It is possible to use this image with an existing, none dockerized Seafile installation. The usage of an external reverse proxy (like nginx) is also supported.
Setting up is really easy and can be (or should be) done via Docker Compose.
To build the docker image, docker must be installed (at least version 17.06.0).
After the dependcies have been set up, change to the image directory and build the images using make:
# get the sources
git clone https://github.com/h44z/seafile-docker-ce.git
cd seafile-docker-ce/image
# build the image
make base
make server
Make sure that you have installed Docker Compose with version 1.19.0 or higher.
# get the sources
git clone https://github.com/h44z/seafile-docker-ce.git
cd seafile-docker-ce
# configure the environment, change seafile settings
cp .env.dist .env
edit .env
# start it!
docker-compose up
# have fun...
Take a look at .env.dist for all available environment variables. Copy .env.dist to .env, uncomment and edit the variables as needed.
After the Seafile container has been started at least once, the mounted volumes should contain a folder shared. The seafile configuration files are located in shared/seafile/conf. Take a look at the official manual to check out which settings can be changed.
HINT: After the initial setup (first run), changing the environment variables in .env does not reflect to the configuration files!
You can run docker commands like "docker logs" or "docker exec" to find errors.
docker logs -f seafile
# or
docker exec -it seafile bash
Content type
Image
Digest
Size
488.2 MB
Last updated
almost 6 years ago
docker pull h44z/base-ce