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.
Julian Leyh c6f0732b8c
adjust traefik labels
11 months ago
.gitignore initial commit 11 months ago
LICENSE.txt initial commit 11 months ago
README.adoc initial commit 11 months ago
db.env.sample initial commit 11 months ago
docker-compose.yml adjust traefik labels 11 months ago
run_cron.sh initial commit 11 months ago
run_occ.sh initial commit 11 months ago

README.adoc

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