Running Nextcloud into Docker hosting files on HOST machine


December 17, 2019

What is Nextcloud?

Nextcloud is a Self Hosted cloud engine to store files, take notes, messaging and other collaborating.

How to get in

You could install it on your machine/server directly or use Docker for this purpose.

Installing on server directly

More about installation

Installing with Docker

I have a bash script to run it.

$ cat 
docker pull nextcloud
docker pull postgresql
docker network create nextcloud_network
docker run --name nextcloud-postgres -e POSTGRES_PASSWORD=<YOUR_PASSWORD> -v /srv/nextcloud/database:/var/lib/postgresql/data --network nextcloud-network -d postgres
docker run --name nextcloud -p 9001:80 -v /srv/nextcloud/data:/var/www/html --network nextcloud-network -d nextcloud
on December 17, 2019