My docker-compose setup for Nextcloud
| .gitignore | update gitignore | |
| db.env.sample | initial commit | |
| docker-compose.yml | upgrade postgresql, redis, and nextcloud app | |
| LICENSE.txt | initial commit | |
| README.adoc | initial commit | |
| run_cron.sh | initial commit | |
| run_occ.sh | initial commit | |
| run_psql.sh | add helper script for running psql | |
My Nextcloud configuration
This is the docker-compose configuration used for my Nextcloud server.
License
Copyright © 2020, Julian Leyh <julian@vgai.de>
Licensed under the MIT License, see LICENSE.txt.
Usage
First, copy the db.env.sample to db.env and add a password.
Next, change the hostname from oenone.de to the one you want to use in docker-compose.yml
Now, you can run it using following command:
docker-compose up -d
occ command line tool
If you need to run the occ tool, you can use the run_occ.sh shellscript.
cron jobs
To enable the cronjobs, add a crontab entry like this:
*/15 * * * * cd /path/to/repo && ./run_cron.sh