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