No description
Glenn Y. Rolland
5aacd69917
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #12 |
||
---|---|---|
hooks | ||
nginx.conf.d | ||
.dockerignore | ||
.drone.yml | ||
docker-compose.yml | ||
Dockerfile | ||
Makefile | ||
README.md | ||
supervisord.conf |
Glenux OpenContainers : Service Nextcloud
Dokku storage mounts
dokku storage:mount cloud /var/lib/dokku/data/storage/cloud/apps:/var/www/html/apps
dokku storage:mount cloud /var/lib/dokku/data/storage/cloud/config:/var/www/html/config
dokku storage:mount cloud /var/lib/dokku/data/storage/cloud/data:/var/www/html/data
Process
- commit
- push to git repo
- run CI/CD
- build image
- push image to local registry
ssh dokku@buddha-apps.boldcode.io app-json:set cloud appjson-path /app/app.json # glenux/service-nextcloud:latest
Run after install
config:app:set --value '30' files_lock lock_timeout
Add this in crontab
dokku enter cloud web su -l -s /bin/bash - www-data -c "cd html && php -dmemory_limit=-1 ./occ app:update --all"