A docker-compose setup for Nextcloud using the official image, along with nginx and postgres alpine containers.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alex Huddleston 1eeb449ae4 Initial commit. This setup is working. 5 days ago
.gitignore Initial commit. This setup is working. 5 days ago
README.md Initial commit. This setup is working. 5 days ago
docker-compose.yml Initial commit. This setup is working. 5 days ago
prod-nginx.conf Initial commit. This setup is working. 5 days ago

README.md

Docker-compose setup for Nextcloud

This is a docker-compose setup for hosting Nextcloud.

It uses alpine images for the three containers:

  • Nextcloud
  • Nginx
  • Postgresql

Installation

You will need to ensure you have created the following subdirectories:

  • config - This will host your Postgres Database password in a file called “pgdb.key”
  • db - This will host your Postgres Database files
  • nextcloud - This will host all Nextcloud files/subdirectories

If you wish to map any of the other Nextlcoud subdirectories for a more customized configuration, please refer to the Nextcloud docker container’s official documentation for instructions on how to map the various directories using docker-compose: https://hub.docker.com/_/nextcloud/

Usage

sudo docker-compose up -d to start and detach.

PSA

Be advised that there may be additional steps to setup, such as modifying the prod-nginx.conf file to set things to listen on your specific domain, or change the port configuration. At the time of writing, I am mainly concerned with getting the most of this setup out there. If you need help, feel free to contact me, especially if I never get around to filling this out more.

email: adh9694@gmail.com telegram: @shadow8t4 discord: @shadow8t4#8276 matrix: @shadow8t4#matrix.werefox.dev