Public | Automated Build

Last pushed: a year ago
Short Description
Automated Pydio (https://pyd.io/) Build
Full Description

Pydio Dockerfile

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

Base Docker Image

kdelfour/supervisor-docker

Installation

Install Docker.

Download automated build from public Docker Hub Registry: docker pull kdelfour/pydio-docker

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

Usage

docker run -it -d -p 80:80 -p 443:443 kdelfour/pydio-docker

You can add a shared directory as a volume directory with the argument -v /your-path/files/:/var/www/pydio-core/data/files/ -v /your-path/personal/:/var/www/pydio-core/data/personal/ -v /your-path/mysql:/var/lib/mysql/ like this :

docker run -it -d -p 80:80 -p 443:443 -v /your-path/files/:/var/www/pydio-core/data/files/ -v /your-path/personal/:/var/www/pydio-core/data/personal/ -v /your-path/mysql:/var/lib/mysql/ kdelfour/pydio-docker

A mysql server with a database is ready, you can use it with this parameters :

  • url : localhost
  • database name : pydio
  • user name : pydio
  • user password : pydio

Build and run with custom config directory

Get the latest version from github

git clone https://github.com/kdelfour/pydio-docker
cd pydio-docker/

Build it

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

And run

sudo docker run -d -p 80:80 -p 443:443 -v /your-path/files/:/var/www/pydio-core/data/files/ -v /your-path/personal/:/var/www/pydio-core/data/personal/ -v /your-path/mysql:/var/lib/mysql/ $USER/pydio-docker:latest

After the installation

To make sure that share feature will work, go to Main Pydio Option and add :

  • server URL : https//your_server_name
  • download folder : /var/www/pydio-core/data/public
  • server download URL : https//your_server_name/data/public

Great and Enjoy !!

Docker Pull Command
Owner
kdelfour
Source Repository

Comments (8)
ferdyh
a year ago

When i try to use this docker image and get to setup, i use the given database settings but gives me the following message:

can't connect to local mysql server through socket /var/run/mysqld/mysqld.sock (111)

Any suggestions on how to resolve?

osallou
a year ago

Regarding volume mount issue, it is because volume is mounted as root, not ww-data (needed for ng-inx/php writing). At startup, a script should change volumes ownership to www-data

osallou
a year ago

I have an error when mounting shared directories when pydio tries to create "My files" : "Cannot create root path for repository (My files)".

docker run --rm -it  -p 80:80 -p 443:443 -v xxx/files/:/var/www/pydio-core/data/files:rw -v xxx/personal/:/var/www/pydio-core/data/personal:rw kdelfour/pydio-docker

If I do not mount shared directories, it works fine.

pkorduan
2 years ago

Hi,
a rerun of this container will overwrite (or better forget) previously installed settings. Which sub folders of /var/www/pydio-core/data/ has to make persistent on the host server by a linked in volume? /etc/nginx/sites-enabled/pydio i have linked in by volume already so that my hostname not will be overwritten with 'localhost' after a rerun of the container.

jujes
2 years ago

Using proxy

what is wrong, where is the issue??

I need pydio run whit a proxy (jwilder/nginx-proxy)

run pydio full

docker run -it -d --name pydio -e VIRTUAL_HOST=pydio.jujes.dev -v /pydio/files/:/pydio-data/files/ -v /pydio/personal/:/pydio-data/personal/ kdelfour/pydio-docker

run proxy

docker run -d --restart=always -p 80:80 -p 443:443 -v /certs:/etc/nginx/certs -v /var/run/docker.sock:/tmp/docker.sock jwilder/nginx-proxy

kdelfour/pydio-docker + jwilder/nginx-proxy

Some one know?
thanks in advance

kdelfour
2 years ago

@starblade : You're welcome ;)

starblade
2 years ago

Just wanted to let you know that the share feature is working now.
Thank you very much.

SB

starblade
3 years ago

Hello all,
I am new to docker and pydio.
Using the basic instructions above I have pydio up and running.
However the sharing links do not work.
Do I need to do anything special to get the public shares working?

Thanks