added nextcloud and onlyoffice

This commit is contained in:
2022-10-20 20:21:55 +09:00
parent 7ab61b5805
commit 5928f7c245
3 changed files with 121 additions and 0 deletions

View File

@ -102,6 +102,23 @@ stack-up-grafana:
stack-down-grafana:
docker stack rm grafana-stack
stack-up-nextcloud:
[ -d /media/seagate-1000/nextcloud ] || mkdir /media/seagate-1000/nextcloud
docker stack deploy --compose-file nextcloud.yml nextcloud-stack
stack-down-nextcloud:
docker stack rm nextcloud-stack
stack-up-onlyoffice:
[ -d /media/seagate-1000/onlyoffice ] || mkdir /media/seagate-1000/onlyoffice
[ -d /media/seagate-1000/onlyoffice/data ] || mkdir /media/seagate-1000/onlyoffice/data
[ -d /media/seagate-1000/onlyoffice/logs ] || mkdir /media/seagate-1000/onlyoffice/logs
docker stack deploy --compose-file onlyoffice.yml onlyoffice-stack
stack-down-onlyoffice:
docker stack rm onlyoffice-stack
stack-up-monitor: stack-up-prometheus-node-exporter stack-up-prometheus stack-up-grafana
stack-down-monitor: stack-down-grafana stack-down-prometheus stack-down-prometheus-node-exporter