TooBug / nginx-owncloud-docker

Docker image with Nginx front-end for ownCloud PHP-FPM image.

Home Page:https://hub.docker.com/r/raulr/nginx-owncloud/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The official ownCloud image has a PHP-FPM variant, but it still needs a web server to handle HTTP requests. This image provides an Nginx server ready to use as a owncloud:fpm front-end.

The Nginx configuration in this image is based on the guidelines given by the ownCloud Documentation.

How to Use This Image

$ docker run --name some-nginx --link some-owncloud:owncloud --volumes-from some-owncloud -d -p 8080:80 raulr/nginx-owncloud

Example docker-compose.yml:

owncloud:
  image: owncloud:fpm
nginx:
  image: raulr/nginx-owncloud
  links:
   - owncloud
  volumes_from:
   - owncloud
  ports:
   - "8080:80"

Run docker-compose up, wait for it to initialize completely, and visit http://localhost:8080 or http://host-ip:8080.

About

Docker image with Nginx front-end for ownCloud PHP-FPM image.

https://hub.docker.com/r/raulr/nginx-owncloud/

License:MIT License