diff --git a/Dockerfile b/Dockerfile index 69fb24e1..e6b62caa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,8 @@ RUN apt-get update \ php-image-text \ php-text-captcha \ php-apcu-bc \ - hedera-web + hedera-web \ + cron ARG BUILD_ID=unknown RUN apt-get update \ diff --git a/debian/changelog b/debian/changelog index 750a1370..eb2b2981 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.406.94) stable; urgency=low +hedera-web (1.406.95) stable; urgency=low * Initial Release. diff --git a/debian/control b/debian/control index 4f71e862..12bf1a14 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,7 @@ Vcs-Git: https://git.verdnatura.es/hedera-web Package: hedera-web Architecture: all Depends: apache2 | httpd, nodejs, php-cli, php-vn-lib, php-apcu, php-ldap, php-ssh2, php-imap, php-soap, libphp-phpmailer, php-gd, php-pear -Suggests: php-text-captcha +Suggests: php-text-captcha, cron Section: misc Priority: optional Description: Verdnatura's web page diff --git a/docker-compose.yml b/docker-compose.yml index b01103bb..4449c823 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,6 +20,14 @@ services: - /mnt/storage/share:/mnt/storage/share deploy: replicas: 3 + web: + image: registry.verdnatura.es/hedera-web + command: 'cron -f' + configs: + - source: config + target: /etc/hedera-web/config.my.php + deploy: + replicas: 1 configs: config: external: true diff --git a/package.json b/package.json index 8d8ad703..950b00e5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.406.94", + "version": "1.406.95", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": {