Ajout de la configuration de Supercronic pour la configuration des tâches planifiées.

This commit is contained in:
2026-03-12 22:04:20 +01:00
parent f09491f786
commit 519f5ee4cb
7 changed files with 59 additions and 24 deletions
+26
View File
@@ -0,0 +1,26 @@
services:
cron:
restart: unless-stopped
container_name: ${CONTAINER_PREFIX}_cron
build:
context: ${PWD}
args:
SERVER_PHP_IMAGE: ${SERVER_PHP_IMAGE}
dockerfile: ${PWD}/docker/Dockerfile.server-php
command: supercronic /etc/crontab
environment:
APP_PATH: ${APP_CONTAINER_PATH}
volumes:
- ${PWD}/${APP_HOST_PATH}:${APP_CONTAINER_PATH}
- ${PWD}/host/crontab:/etc/crontab
depends_on:
- server-php
healthcheck:
disable: true