My docker-compose setup for Nextcloud
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.

713 B

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