Go to file
Glenn Y. Rolland b17f8bd032
Some checks failed
continuous-integration/drone/push Build is failing
feat: use internal postdeploy hook instead of dokku's
2024-07-08 21:12:45 +02:00
nginx.conf.d fix config for nginx 2024-05-05 19:05:33 +02:00
.dockerignore ci: Add deploy step 2023-02-21 14:47:21 +01:00
.drone.yml ci: Remove unwanted dokku ps:stop 2023-02-21 15:01:25 +01:00
docker-compose.yml Add docker-compose.yml 2022-04-07 09:36:33 +02:00
Dockerfile feat: use internal postdeploy hook instead of dokku's 2024-07-08 21:12:45 +02:00
postdeploy.sh fix: workdir may not be available at startup 2024-05-05 19:14:14 +02:00
postdeploy_hook.sh feat: use internal postdeploy hook instead of dokku's 2024-07-08 21:12:45 +02:00
README.md doc: add config lines for dokku 2024-05-05 19:06:44 +02:00
supervisord.conf Add missing supervisord.conf 2021-03-27 17:05:29 +01:00

Build Status

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

  1. commit
  2. push to git repo
  3. 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"