||2 months ago|
|.gitignore||8 months ago|
|Dockerfile||7 months ago|
|README.md||8 months ago|
|docker-compose.yml||2 months ago|
|prod-nginx.conf||7 months ago|
|supervisord.conf||7 months ago|
|www-data||2 months ago|
Docker-compose setup for Nextcloud
This is a docker-compose setup for hosting Nextcloud.
It uses alpine images for the three containers:
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/
sudo docker-compose up -d to start and detach.
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.