Add the following service definition to your docker-compose.yml
file:
cron:
image: nextcloud:27
restart: always
volumes:
- .data/server:/var/www/html
entrypoint: /cron.sh
networks:
- app-network
Run the following command to grant execute permission to cron.sh
:
chmod +x cron.sh
Run the following command to build and start the Docker containers:
docker-compose up -d --build
After the containers are up and running, enable the KMAQLCV app in the Nextcloud interface.