From 44cf77036e44e43438c814b0f201b6f698e8354a Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Thu, 24 Nov 2016 18:55:47 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D1=91?= =?UTF-8?q?=D0=BD=20=D0=B1=D0=B0=D0=B7=D0=BE=D0=B2=D1=8B=D0=B9=20image,=20?= =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B0=20?= =?UTF-8?q?cron=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=87=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- Dockerfile-dev | 2 +- docker/cron/cleanup | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f750e08..4cbe416 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.ely.by/elyby/accounts-php:1.1.0 +FROM registry.ely.by/elyby/accounts-php:1.1.1 # Вносим конфигурации для крона и воркеров COPY docker/cron/* /etc/cron.d/ diff --git a/Dockerfile-dev b/Dockerfile-dev index 86bee41..51c0dd2 100644 --- a/Dockerfile-dev +++ b/Dockerfile-dev @@ -1,4 +1,4 @@ -FROM registry.ely.by/elyby/accounts-php:1.1.0-dev +FROM registry.ely.by/elyby/accounts-php:1.1.1-dev # Вносим конфигурации для крона и воркеров COPY docker/cron/* /etc/cron.d/ diff --git a/docker/cron/cleanup b/docker/cron/cleanup index 4c056e7..75d517b 100644 --- a/docker/cron/cleanup +++ b/docker/cron/cleanup @@ -1,2 +1,2 @@ # https://crontab.guru/every-hour -0 * * * * php /var/www/html/yii cleanup/access-tokens >/dev/null 2>&1 +0 * * * * root php /var/www/html/yii cleanup/access-tokens >/dev/null 2>&1