OwnCloud images for Docker. For use with Docker
All suggestions and contributions are very welcome. There is a room for tons of improvements, so please feel free to open issues and pull requests to help improve these images.
$ git clone [email protected]:spiroid/docker-owncloud.git
$ cd docker-owncloud
This docker image is based on Debian Jessie release and contains all the components with no external dependencies. Installed applications:
- NGINX as front webserver
- Postgresql as database backend
- PHP5 + PHP-FPM
- OwnCloud version 6.0.0a
- Supervisord to monitor running processes
Your owncloud instance will only be avaiable on HTTPS. In order to make it work you'll need to provide a valid SSL certificate. It can be a self signed certificate or a certificate generated and signed by a trusted authority. You need to put a couple of files in the resources/ssl directory. The expected file names are owncloud.crt and owncloud.key and they are required to successfully generate the docker image.
A specific postgresql database is created during the build process. I followed vagrant conventions and by default the db name, user and password are 'owncloud'
cd to the directory where you cloned the repository.
$ cd owncloud-postgresql
$ docker build -t <your pseudo>/owncloud-postgresql .
replace <your pseudo>
by a prefix you want to appear in your local docker image registry.
$ docker run -p 443 -h 'hostname' -d <your pseudo>/owncloud-postgresql
See TODO file for a short list.
See LICENSE file.