From a46cf9c6f0d651cabeb449f7bb6f1f4e1ebbb7df Mon Sep 17 00:00:00 2001 From: Taly Date: Mon, 7 Jun 2021 20:20:28 +0300 Subject: [PATCH 1/2] add persistent storage for mysql --- docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 90818aa37..b3c0821e3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,8 @@ services: - '3306:3306' environment: MYSQL_ROOT_PASSWORD: root + volumes: + - mysqldata:/var/lib/mysql memcached: image: 'memcached:alpine' @@ -49,3 +51,6 @@ services: MYSQL_USER: root MYSQL_PASSWORD: root MYSQL_ROOT_PASSWORD: root + +volumes: + mysqldata: From daa41faf7db8463d847d83252545d115d82c3775 Mon Sep 17 00:00:00 2001 From: Taly Date: Mon, 7 Jun 2021 20:23:28 +0300 Subject: [PATCH 2/2] Add button --- www/application/views/templates/index/news.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/www/application/views/templates/index/news.php b/www/application/views/templates/index/news.php index dc4343c76..fa81f172e 100644 --- a/www/application/views/templates/index/news.php +++ b/www/application/views/templates/index/news.php @@ -24,5 +24,10 @@ Show more news + +