Sign inSign up

vinado/nextcloud-nginx

By vinado

•Updated almost 6 years ago

A complete Docker Compose stack for running Nextcloud along with nginx

Image
0

184

vinado/nextcloud-nginx repository overview

⁠Nginx Nextcloud FPM Image

This image builds upon the nginx:alpine image and adds and an nginx.conf.template replacement. Dockerfile and nginx can be found in the official nextcloud/docker⁠ examples section.

⁠Environment

I added the NEXTCLOUD_HOST environment variable to nginx.conf.template.

⁠How to Deploy the Service

version: '2'

services:
  nextcloud:
    image: nextcloud:fpm-alpine
    volumes:
      - nextcloud:/var/www/html
    [...]

  nginx:
    image: vinado/nextcloud-nginx:latest
    volumes:
      - nextcloud:/var/www/html:ro
    environment:
      - NEXTCLOUD_HOST=nextcloud
    depends_on:
      - nextcloud
    [...]

⁠Contribute

The source is available on GitHub⁠. Please report any issues⁠.

To build the image from the Dockerfile run:

docker build -t vinado/nextcloud-nginx:latest .

Tag summary

Content type

Image

Digest

Size

9.1 MB

Last updated

almost 6 years ago

docker pull vinado/nextcloud-nginx