From bdd57d0a0514335424c7d1cec17098f8f3771255 Mon Sep 17 00:00:00 2001 From: Matthos Denys Date: Wed, 3 Mar 2021 14:41:07 +0300 Subject: [PATCH] its a live --- .DS_Store | Bin 0 -> 6148 bytes run.sh | 18 +- setup.sh | 21 - srcs/.DS_Store | Bin 0 -> 6148 bytes srcs/mysqlrc/Dockerfile | 12 + srcs/mysqlrc/my.cnf | 6 + srcs/mysqlrc/mysql.sql | 4 + srcs/mysqlrc/start.sh | 63 +++ srcs/mysqlrc/supervisord.conf | 6 + srcs/mysqlrc/wordpress.sql | 647 ++++++++++++++++++++++++++++ srcs/newmysql/Dockerfile | 18 + srcs/newmysql/create_db.sql | 3 + srcs/newmysql/mariadb.yaml | 80 ++++ srcs/newmysql/my.cnf | 7 + srcs/newmysql/start_mysql.sh | 7 + srcs/newmysql/wp_db.sql | 661 +++++++++++++++++++++++++++++ srcs/phpmyadmin/Dockerfile | 5 +- srcs/phpmyadmin/nginx.conf | 1 + srcs/phpmyadmin/phpmyadmin.inc.php | 8 +- srcs/yaml/metallb.yaml | 2 +- srcs/yaml/mysql.yaml | 4 +- 21 files changed, 1536 insertions(+), 37 deletions(-) create mode 100644 .DS_Store delete mode 100755 setup.sh create mode 100644 srcs/.DS_Store create mode 100755 srcs/mysqlrc/Dockerfile create mode 100755 srcs/mysqlrc/my.cnf create mode 100644 srcs/mysqlrc/mysql.sql create mode 100755 srcs/mysqlrc/start.sh create mode 100755 srcs/mysqlrc/supervisord.conf create mode 100755 srcs/mysqlrc/wordpress.sql create mode 100644 srcs/newmysql/Dockerfile create mode 100644 srcs/newmysql/create_db.sql create mode 100644 srcs/newmysql/mariadb.yaml create mode 100644 srcs/newmysql/my.cnf create mode 100755 srcs/newmysql/start_mysql.sh create mode 100644 srcs/newmysql/wp_db.sql diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..8b0da78ed59bdda7f88608f9cd3e81969f44ffea GIT binary patch literal 6148 zcmeHK%Zk)M6us5cwuu3WAn1ULfD2tT($gajgPYLK2!f!P!CCldlSwdvkZSUnUNj9s zaO(%?)(8HDp#Fnj;#N;Rda!$Dwt`X@Zk?OTxi`tFq$)*3Y}CXXL@p6oaDg2g%?T#X z3qNKZ-O~dyS)-OyC-K>(6@C}|k`Aa^z6bXDG+s2VCi-4~Mw2|N>cQX#>#TLp z^v+uLImdR+JNC06<!uoo<=DLvWN{LO<$e~|>0VOo=E-4FJSgvnby7YN~?K$GYlAU+@S-wq=jq z_1SD=INa=e!|m;P-|alXgMl z0=^?SQtdD(i<}oP(YN3)cm|CEMggOMP(aTOmSf~F3K#{90xJrL`N4w=^fk5$<j3e%Jde4sdV&vn&)e56{>V%dh@~bm6_h5FnM*< z_avQ|uh6tc0i(dO0&D8f73=@*>HGiXBy(gGFbe!v3b5`@urtCV>9zIP!-=)lgTH_a q6TDX8Q3?XN6oV_4;>&Pp==Veb^fk5$(E~F-0#XLk7zO^S0>1$_^^!0E literal 0 HcmV?d00001 diff --git a/run.sh b/run.sh index 172fdc7..90c20ff 100644 --- a/run.sh +++ b/run.sh @@ -1,21 +1,21 @@ #!/bin/bash IP=$(kubectl get node -o=custom-columns='DATA:status.addresses[0].address' | sed -n 2p) - -minikube addons enable dashboard minikube addons enable metallb minikube addons enable metrics-server - eval $(minikube docker-env) - -docker build -t ngnix_image srcs/nginx +minikube dashboard & +docker build -t nginx_image srcs/nginx docker build -t phpmyadmin_image srcs/phpmyadmin -docker build -t mysqlserver srcs/mysql +docker build -t mariadb-image srcs/newmysql kubectl apply -f srcs/yaml/metallb.yaml kubectl apply -f srcs/yaml/nginx_service.yaml -kubectl apply -f srcs/yaml/persistencevolume.yaml -kubectl apply -f srcs/yaml/mysql.yaml +# kubectl apply -f srcs/yaml/persistencevolume.yaml +kubectl apply -f srcs/newmysql/mariadb.yaml kubectl apply -f srcs/yaml/phpsvc.yaml -echo "Minikube IP: ${IP}" \ No newline at end of file +echo "Minikube IP: ${IP}" + + +# sh minikubenewpc.sh sh ~/Desktop/ft_services/run.sh \ No newline at end of file diff --git a/setup.sh b/setup.sh deleted file mode 100755 index 172fdc7..0000000 --- a/setup.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -IP=$(kubectl get node -o=custom-columns='DATA:status.addresses[0].address' | sed -n 2p) - - -minikube addons enable dashboard -minikube addons enable metallb -minikube addons enable metrics-server - -eval $(minikube docker-env) - -docker build -t ngnix_image srcs/nginx -docker build -t phpmyadmin_image srcs/phpmyadmin -docker build -t mysqlserver srcs/mysql - -kubectl apply -f srcs/yaml/metallb.yaml -kubectl apply -f srcs/yaml/nginx_service.yaml -kubectl apply -f srcs/yaml/persistencevolume.yaml -kubectl apply -f srcs/yaml/mysql.yaml -kubectl apply -f srcs/yaml/phpsvc.yaml - -echo "Minikube IP: ${IP}" \ No newline at end of file diff --git a/srcs/.DS_Store b/srcs/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..64f202bf117fb946426c3adf26d71ac30879da41 GIT binary patch literal 6148 zcmeHKPjAyO6o1}QmIe?#Fb!_GAaUrS?GV$1kg`$^yCDU^0nnB-RU0XdvnC~sQj`lH z0{8@c0`45SBR&WRj_{uCu{J4!!-UY}Cq4iC=lAUR7srkPfOV%q8=wIICOV;EVY0%g zoxEaes^$_R6MaPc5%2pE_bXgop%u^y{C^72w_AfT97766u=xGbmT(9C<_}@w(Kk++ zFoFKU*G}vYCAJAM3?M&^De>PT|KmdM6~3RRiP}v*`$-h0S*!Jxt*sli3mc|snbu|N znLFaSn|awZ?Rt|ZRC?fLBVXkoavuH4d;X(vkRLRz-s5rRh4Ek_g2P~dl&6owIN*7g zPvamJ{kXEhH0x&lpmBXRYj--^O}n$ZJ8#;vot;+GzO{XOKChcwH`;gi568zZXRqe3 z-wCCF;f^Tmioz3kkD1C$qhZ_a^Ko)QTE!XjUQek(+wta?@1OQo^Mb$PC8Ix&`P`kv z5s!yB4$Y^AZ*&MDrZ1M?CELQ*#g$?~0wZ)|2S4MQvxG zfLfvE#WUzjccB%~3Y;$mXn(NL2_1!nM6q>XBCY_4238BhJpBq#jIGd7SV+VcG$un4 zWhhfu3?{>|-c~$EVIfh515=j|rbcG!hQh??*uO34z#NG>)e2|@mK9i+#Ri@K_kVx? zUk=hGt$ /dev/null +# echo 'Database initialized' + +# echo "[i] MySql root password: root" + +# # create temp file +# tfile=`mktemp` +# if [ ! -f "$tfile" ]; then +# return 1 +# fi + +# # save sql +# echo "[i] Create temp file: $tfile" +# cat << EOF > $tfile +# CREATE DATABASE wordpress; +# CREATE USER 'new'@'%' IDENTIFIED BY ''; +# GRANT ALL PRIVILEGES ON *.* TO 'new'@'%' WITH GRANT OPTION; +# FLUSH PRIVILEGES; +# EOF + +# echo 'FLUSH PRIVILEGES;' >> $tfile + +# # run sql in tempfile +# echo "[i] run tempfile: $tfile" +# /usr/bin/mysqld --user=mysql --bootstrap --verbose=0 < $tfile +# rm -f $tfile +# fi + +# echo "[i] Sleeping 5 sec" +# sleep 5 + +# echo '[i] start running mysqld' +# exec /usr/bin/mysqld_safe \ No newline at end of file diff --git a/srcs/mysqlrc/supervisord.conf b/srcs/mysqlrc/supervisord.conf new file mode 100755 index 0000000..949073b --- /dev/null +++ b/srcs/mysqlrc/supervisord.conf @@ -0,0 +1,6 @@ +[supervisord] +user = root +nodaemon=true + +[program:mysqld_safe] +command = sh -c "/usr/bin/mysqld_safe && kill -s SIGTERM $(cat supervisord.pid)" \ No newline at end of file diff --git a/srcs/mysqlrc/wordpress.sql b/srcs/mysqlrc/wordpress.sql new file mode 100755 index 0000000..ebe5c29 --- /dev/null +++ b/srcs/mysqlrc/wordpress.sql @@ -0,0 +1,647 @@ +-- phpMyAdmin SQL Dump +-- version 5.0.4 +-- https://www.phpmyadmin.net/ +-- +-- Host: wordpress-mysql:3306 +-- Generation Time: Jan 18, 2021 at 10:11 AM +-- Server version: 10.4.15-MariaDB +-- PHP Version: 7.4.14 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `wordpress` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_commentmeta` +-- + +CREATE TABLE `wp_commentmeta` ( + `meta_id` bigint(20) UNSIGNED NOT NULL, + `comment_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `meta_value` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_comments` +-- + +CREATE TABLE `wp_comments` ( + `comment_ID` bigint(20) UNSIGNED NOT NULL, + `comment_post_ID` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `comment_author` tinytext COLLATE utf8mb4_unicode_ci NOT NULL, + `comment_author_email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `comment_author_url` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `comment_author_IP` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `comment_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `comment_date_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `comment_content` text COLLATE utf8mb4_unicode_ci NOT NULL, + `comment_karma` int(11) NOT NULL DEFAULT 0, + `comment_approved` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1', + `comment_agent` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `comment_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'comment', + `comment_parent` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `user_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0 +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_comments` +-- + +INSERT INTO `wp_comments` (`comment_ID`, `comment_post_ID`, `comment_author`, `comment_author_email`, `comment_author_url`, `comment_author_IP`, `comment_date`, `comment_date_gmt`, `comment_content`, `comment_karma`, `comment_approved`, `comment_agent`, `comment_type`, `comment_parent`, `user_id`) VALUES +(1, 1, 'A WordPress Commenter', 'wapuu@wordpress.example', 'https://wordpress.org/', '', '2021-01-18 09:24:11', '2021-01-18 09:24:11', 'Hi, this is a comment.\nTo get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.\nCommenter avatars come from Gravatar.', 0, '1', '', 'comment', 0, 0); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_links` +-- + +CREATE TABLE `wp_links` ( + `link_id` bigint(20) UNSIGNED NOT NULL, + `link_url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `link_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `link_image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `link_target` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `link_description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `link_visible` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Y', + `link_owner` bigint(20) UNSIGNED NOT NULL DEFAULT 1, + `link_rating` int(11) NOT NULL DEFAULT 0, + `link_updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `link_rel` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `link_notes` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, + `link_rss` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_options` +-- + +CREATE TABLE `wp_options` ( + `option_id` bigint(20) UNSIGNED NOT NULL, + `option_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `option_value` longtext COLLATE utf8mb4_unicode_ci NOT NULL, + `autoload` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_options` +-- + +INSERT INTO `wp_options` (`option_id`, `option_name`, `option_value`, `autoload`) VALUES +(1, 'siteurl', 'http://192.168.99.100:5050', 'yes'), +(2, 'home', 'http://192.168.99.100:5050', 'yes'), +(3, 'blogname', 'knfonda', 'yes'), +(4, 'blogdescription', 'Just another WordPress site', 'yes'), +(5, 'users_can_register', '0', 'yes'), +(6, 'admin_email', 'knfonda@mail.ru', 'yes'), +(7, 'start_of_week', '1', 'yes'), +(8, 'use_balanceTags', '0', 'yes'), +(9, 'use_smilies', '1', 'yes'), +(10, 'require_name_email', '1', 'yes'), +(11, 'comments_notify', '1', 'yes'), +(12, 'posts_per_rss', '10', 'yes'), +(13, 'rss_use_excerpt', '0', 'yes'), +(14, 'mailserver_url', 'mail.example.com', 'yes'), +(15, 'mailserver_login', 'login@example.com', 'yes'), +(16, 'mailserver_pass', 'password', 'yes'), +(17, 'mailserver_port', '110', 'yes'), +(18, 'default_category', '1', 'yes'), +(19, 'default_comment_status', 'open', 'yes'), +(20, 'default_ping_status', 'open', 'yes'), +(21, 'default_pingback_flag', '1', 'yes'), +(22, 'posts_per_page', '10', 'yes'), +(23, 'date_format', 'F j, Y', 'yes'), +(24, 'time_format', 'g:i a', 'yes'), +(25, 'links_updated_date_format', 'F j, Y g:i a', 'yes'), +(26, 'comment_moderation', '0', 'yes'), +(27, 'moderation_notify', '1', 'yes'), +(28, 'permalink_structure', '', 'yes'), +(29, 'rewrite_rules', '', 'yes'), +(30, 'hack_file', '0', 'yes'), +(31, 'blog_charset', 'UTF-8', 'yes'), +(32, 'moderation_keys', '', 'no'), +(33, 'active_plugins', 'a:0:{}', 'yes'), +(34, 'category_base', '', 'yes'), +(35, 'ping_sites', 'http://rpc.pingomatic.com/', 'yes'), +(36, 'comment_max_links', '2', 'yes'), +(37, 'gmt_offset', '0', 'yes'), +(38, 'default_email_category', '1', 'yes'), +(39, 'recently_edited', '', 'no'), +(40, 'template', 'twentytwentyone', 'yes'), +(41, 'stylesheet', 'twentytwentyone', 'yes'), +(42, 'comment_registration', '0', 'yes'), +(43, 'html_type', 'text/html', 'yes'), +(44, 'use_trackback', '0', 'yes'), +(45, 'default_role', 'subscriber', 'yes'), +(46, 'db_version', '49752', 'yes'), +(47, 'uploads_use_yearmonth_folders', '1', 'yes'), +(48, 'upload_path', '', 'yes'), +(49, 'blog_public', '1', 'yes'), +(50, 'default_link_category', '2', 'yes'), +(51, 'show_on_front', 'posts', 'yes'), +(52, 'tag_base', '', 'yes'), +(53, 'show_avatars', '1', 'yes'), +(54, 'avatar_rating', 'G', 'yes'), +(55, 'upload_url_path', '', 'yes'), +(56, 'thumbnail_size_w', '150', 'yes'), +(57, 'thumbnail_size_h', '150', 'yes'), +(58, 'thumbnail_crop', '1', 'yes'), +(59, 'medium_size_w', '300', 'yes'), +(60, 'medium_size_h', '300', 'yes'), +(61, 'avatar_default', 'mystery', 'yes'), +(62, 'large_size_w', '1024', 'yes'), +(63, 'large_size_h', '1024', 'yes'), +(64, 'image_default_link_type', 'none', 'yes'), +(65, 'image_default_size', '', 'yes'), +(66, 'image_default_align', '', 'yes'), +(67, 'close_comments_for_old_posts', '0', 'yes'), +(68, 'close_comments_days_old', '14', 'yes'), +(69, 'thread_comments', '1', 'yes'), +(70, 'thread_comments_depth', '5', 'yes'), +(71, 'page_comments', '0', 'yes'), +(72, 'comments_per_page', '50', 'yes'), +(73, 'default_comments_page', 'newest', 'yes'), +(74, 'comment_order', 'asc', 'yes'), +(75, 'sticky_posts', 'a:0:{}', 'yes'), +(76, 'widget_categories', 'a:2:{i:2;a:4:{s:5:\"title\";s:0:\"\";s:5:\"count\";i:0;s:12:\"hierarchical\";i:0;s:8:\"dropdown\";i:0;}s:12:\"_multiwidget\";i:1;}', 'yes'), +(77, 'widget_text', 'a:0:{}', 'yes'), +(78, 'widget_rss', 'a:0:{}', 'yes'), +(79, 'uninstall_plugins', 'a:0:{}', 'no'), +(80, 'timezone_string', '', 'yes'), +(81, 'page_for_posts', '0', 'yes'), +(82, 'page_on_front', '0', 'yes'), +(83, 'default_post_format', '0', 'yes'), +(84, 'link_manager_enabled', '0', 'yes'), +(85, 'finished_splitting_shared_terms', '1', 'yes'), +(86, 'site_icon', '0', 'yes'), +(87, 'medium_large_size_w', '768', 'yes'), +(88, 'medium_large_size_h', '0', 'yes'), +(89, 'wp_page_for_privacy_policy', '3', 'yes'), +(90, 'show_comments_cookies_opt_in', '1', 'yes'), +(91, 'admin_email_lifespan', '1626513850', 'yes'), +(92, 'disallowed_keys', '', 'no'), +(93, 'comment_previously_approved', '1', 'yes'), +(94, 'auto_plugin_theme_update_emails', 'a:0:{}', 'no'), +(95, 'auto_update_core_dev', 'enabled', 'yes'), +(96, 'auto_update_core_minor', 'enabled', 'yes'), +(97, 'auto_update_core_major', 'enabled', 'yes'), +(98, 'initial_db_version', '49752', 'yes'), +(99, 'wp_user_roles', 'a:5:{s:13:\"administrator\";a:2:{s:4:\"name\";s:13:\"Administrator\";s:12:\"capabilities\";a:61:{s:13:\"switch_themes\";b:1;s:11:\"edit_themes\";b:1;s:16:\"activate_plugins\";b:1;s:12:\"edit_plugins\";b:1;s:10:\"edit_users\";b:1;s:10:\"edit_files\";b:1;s:14:\"manage_options\";b:1;s:17:\"moderate_comments\";b:1;s:17:\"manage_categories\";b:1;s:12:\"manage_links\";b:1;s:12:\"upload_files\";b:1;s:6:\"import\";b:1;s:15:\"unfiltered_html\";b:1;s:10:\"edit_posts\";b:1;s:17:\"edit_others_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:10:\"edit_pages\";b:1;s:4:\"read\";b:1;s:8:\"level_10\";b:1;s:7:\"level_9\";b:1;s:7:\"level_8\";b:1;s:7:\"level_7\";b:1;s:7:\"level_6\";b:1;s:7:\"level_5\";b:1;s:7:\"level_4\";b:1;s:7:\"level_3\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:17:\"edit_others_pages\";b:1;s:20:\"edit_published_pages\";b:1;s:13:\"publish_pages\";b:1;s:12:\"delete_pages\";b:1;s:19:\"delete_others_pages\";b:1;s:22:\"delete_published_pages\";b:1;s:12:\"delete_posts\";b:1;s:19:\"delete_others_posts\";b:1;s:22:\"delete_published_posts\";b:1;s:20:\"delete_private_posts\";b:1;s:18:\"edit_private_posts\";b:1;s:18:\"read_private_posts\";b:1;s:20:\"delete_private_pages\";b:1;s:18:\"edit_private_pages\";b:1;s:18:\"read_private_pages\";b:1;s:12:\"delete_users\";b:1;s:12:\"create_users\";b:1;s:17:\"unfiltered_upload\";b:1;s:14:\"edit_dashboard\";b:1;s:14:\"update_plugins\";b:1;s:14:\"delete_plugins\";b:1;s:15:\"install_plugins\";b:1;s:13:\"update_themes\";b:1;s:14:\"install_themes\";b:1;s:11:\"update_core\";b:1;s:10:\"list_users\";b:1;s:12:\"remove_users\";b:1;s:13:\"promote_users\";b:1;s:18:\"edit_theme_options\";b:1;s:13:\"delete_themes\";b:1;s:6:\"export\";b:1;}}s:6:\"editor\";a:2:{s:4:\"name\";s:6:\"Editor\";s:12:\"capabilities\";a:34:{s:17:\"moderate_comments\";b:1;s:17:\"manage_categories\";b:1;s:12:\"manage_links\";b:1;s:12:\"upload_files\";b:1;s:15:\"unfiltered_html\";b:1;s:10:\"edit_posts\";b:1;s:17:\"edit_others_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:10:\"edit_pages\";b:1;s:4:\"read\";b:1;s:7:\"level_7\";b:1;s:7:\"level_6\";b:1;s:7:\"level_5\";b:1;s:7:\"level_4\";b:1;s:7:\"level_3\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:17:\"edit_others_pages\";b:1;s:20:\"edit_published_pages\";b:1;s:13:\"publish_pages\";b:1;s:12:\"delete_pages\";b:1;s:19:\"delete_others_pages\";b:1;s:22:\"delete_published_pages\";b:1;s:12:\"delete_posts\";b:1;s:19:\"delete_others_posts\";b:1;s:22:\"delete_published_posts\";b:1;s:20:\"delete_private_posts\";b:1;s:18:\"edit_private_posts\";b:1;s:18:\"read_private_posts\";b:1;s:20:\"delete_private_pages\";b:1;s:18:\"edit_private_pages\";b:1;s:18:\"read_private_pages\";b:1;}}s:6:\"author\";a:2:{s:4:\"name\";s:6:\"Author\";s:12:\"capabilities\";a:10:{s:12:\"upload_files\";b:1;s:10:\"edit_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:4:\"read\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:12:\"delete_posts\";b:1;s:22:\"delete_published_posts\";b:1;}}s:11:\"contributor\";a:2:{s:4:\"name\";s:11:\"Contributor\";s:12:\"capabilities\";a:5:{s:10:\"edit_posts\";b:1;s:4:\"read\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:12:\"delete_posts\";b:1;}}s:10:\"subscriber\";a:2:{s:4:\"name\";s:10:\"Subscriber\";s:12:\"capabilities\";a:2:{s:4:\"read\";b:1;s:7:\"level_0\";b:1;}}}', 'yes'), +(100, 'fresh_site', '1', 'yes'), +(101, 'widget_search', 'a:2:{i:2;a:1:{s:5:\"title\";s:0:\"\";}s:12:\"_multiwidget\";i:1;}', 'yes'), +(102, 'widget_recent-posts', 'a:2:{i:2;a:2:{s:5:\"title\";s:0:\"\";s:6:\"number\";i:5;}s:12:\"_multiwidget\";i:1;}', 'yes'), +(103, 'widget_recent-comments', 'a:2:{i:2;a:2:{s:5:\"title\";s:0:\"\";s:6:\"number\";i:5;}s:12:\"_multiwidget\";i:1;}', 'yes'), +(104, 'widget_archives', 'a:2:{i:2;a:3:{s:5:\"title\";s:0:\"\";s:5:\"count\";i:0;s:8:\"dropdown\";i:0;}s:12:\"_multiwidget\";i:1;}', 'yes'), +(105, 'widget_meta', 'a:2:{i:2;a:1:{s:5:\"title\";s:0:\"\";}s:12:\"_multiwidget\";i:1;}', 'yes'), +(106, 'sidebars_widgets', 'a:4:{s:19:\"wp_inactive_widgets\";a:0:{}s:9:\"sidebar-1\";a:3:{i:0;s:8:\"search-2\";i:1;s:14:\"recent-posts-2\";i:2;s:17:\"recent-comments-2\";}s:9:\"sidebar-2\";a:3:{i:0;s:10:\"archives-2\";i:1;s:12:\"categories-2\";i:2;s:6:\"meta-2\";}s:13:\"array_version\";i:3;}', 'yes'), +(107, 'widget_pages', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(108, 'widget_calendar', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(109, 'widget_media_audio', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(110, 'widget_media_image', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(111, 'widget_media_gallery', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(112, 'widget_media_video', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(113, 'widget_tag_cloud', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(114, 'widget_nav_menu', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(115, 'widget_custom_html', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(116, 'cron', 'a:7:{i:1610961859;a:1:{s:32:\"recovery_mode_clean_expired_keys\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}}i:1610961860;a:4:{s:34:\"wp_privacy_delete_old_export_files\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:6:\"hourly\";s:4:\"args\";a:0:{}s:8:\"interval\";i:3600;}}s:16:\"wp_version_check\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}s:17:\"wp_update_plugins\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}s:16:\"wp_update_themes\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}}i:1610961863;a:2:{s:19:\"wp_scheduled_delete\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}s:25:\"delete_expired_transients\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}}i:1610961904;a:1:{s:30:\"wp_scheduled_auto_draft_delete\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}}i:1610961923;a:1:{s:28:\"wp_update_comment_type_batch\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:2:{s:8:\"schedule\";b:0;s:4:\"args\";a:0:{}}}}i:1611048259;a:1:{s:30:\"wp_site_health_scheduled_check\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:6:\"weekly\";s:4:\"args\";a:0:{}s:8:\"interval\";i:604800;}}}s:7:\"version\";i:2;}', 'yes'), +(117, 'nonce_key', 'sD6F}`=ulPv9Wgh?E|4(/YLV4`pn2>|n`AeTUfK:dz:.Q,X`G@+@kT7qxowFfGHJ', 'no'), +(118, 'nonce_salt', 'VX6Uxr`)DA|r&lM7DvT4]grXhBVtQ86a20n@Q{4`BGtPLap]i+1@MHv<#*=moCSR', 'no'), +(119, '_transient_doing_cron', '1610964663.0886650085449218750000', 'yes'), +(120, 'auth_key', 'rr,$G~4gH<}3uCe02o7%y#J@-o{iht>[psPjhef]}-.8M~d[c8MXpH4jYDDHi|AX', 'no'), +(121, 'auth_salt', '90cO>FNI/YFI~pByh<L$S}4wt`b OzWXNHUy,w;}VR^TJ2r2_DU+l^!xI=kf({Hv^zG~:OXMa>IvEn-A#=~B', 'no'), +(124, '_site_transient_update_core', 'O:8:\"stdClass\":3:{s:7:\"updates\";a:0:{}s:15:\"version_checked\";s:3:\"5.6\";s:12:\"last_checked\";i:1610961863;}', 'no'), +(125, '_site_transient_update_plugins', 'O:8:\"stdClass\":1:{s:12:\"last_checked\";i:1610961873;}', 'no'), +(126, '_site_transient_timeout_theme_roots', '1610963683', 'no'), +(127, '_site_transient_theme_roots', 'a:3:{s:14:\"twentynineteen\";s:7:\"/themes\";s:12:\"twentytwenty\";s:7:\"/themes\";s:15:\"twentytwentyone\";s:7:\"/themes\";}', 'no'), +(128, '_site_transient_update_themes', 'O:8:\"stdClass\":1:{s:12:\"last_checked\";i:1610961883;}', 'no'), +(129, '_transient_timeout_dash_v2_88ae138922fe95674369b1cb3d215a2b', '1611005105', 'no'), +(130, '_transient_dash_v2_88ae138922fe95674369b1cb3d215a2b', '

RSS Error: XML or PCRE extensions not loaded!

RSS Error: XML or PCRE extensions not loaded!

', 'no'), +(131, 'can_compress_scripts', '1', 'no'), +(132, 'theme_mods_twentytwentyone', 'a:1:{s:18:\"custom_css_post_id\";i:-1;}', 'yes'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_postmeta` +-- + +CREATE TABLE `wp_postmeta` ( + `meta_id` bigint(20) UNSIGNED NOT NULL, + `post_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `meta_value` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_postmeta` +-- + +INSERT INTO `wp_postmeta` (`meta_id`, `post_id`, `meta_key`, `meta_value`) VALUES +(1, 2, '_wp_page_template', 'default'), +(2, 3, '_wp_page_template', 'default'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_posts` +-- + +CREATE TABLE `wp_posts` ( + `ID` bigint(20) UNSIGNED NOT NULL, + `post_author` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `post_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `post_date_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `post_content` longtext COLLATE utf8mb4_unicode_ci NOT NULL, + `post_title` text COLLATE utf8mb4_unicode_ci NOT NULL, + `post_excerpt` text COLLATE utf8mb4_unicode_ci NOT NULL, + `post_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'publish', + `comment_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open', + `ping_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open', + `post_password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `post_name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `to_ping` text COLLATE utf8mb4_unicode_ci NOT NULL, + `pinged` text COLLATE utf8mb4_unicode_ci NOT NULL, + `post_modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `post_modified_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `post_content_filtered` longtext COLLATE utf8mb4_unicode_ci NOT NULL, + `post_parent` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `guid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `menu_order` int(11) NOT NULL DEFAULT 0, + `post_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'post', + `post_mime_type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `comment_count` bigint(20) NOT NULL DEFAULT 0 +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_posts` +-- + +INSERT INTO `wp_posts` (`ID`, `post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_excerpt`, `post_status`, `comment_status`, `ping_status`, `post_password`, `post_name`, `to_ping`, `pinged`, `post_modified`, `post_modified_gmt`, `post_content_filtered`, `post_parent`, `guid`, `menu_order`, `post_type`, `post_mime_type`, `comment_count`) VALUES +(1, 1, '2021-01-18 09:24:11', '2021-01-18 09:24:11', '\n

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

\n', 'Hello world!', '', 'publish', 'open', 'open', '', 'hello-world', '', '', '2021-01-18 09:24:11', '2021-01-18 09:24:11', '', 0, 'http://192.168.99.100:5050/?p=1', 0, 'post', '', 1), +(2, 1, '2021-01-18 09:24:11', '2021-01-18 09:24:11', '\n

This is an example page. It\'s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:

\n\n\n\n

Hi there! I\'m a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin\' caught in the rain.)

\n\n\n\n

...or something like this:

\n\n\n\n

The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.

\n\n\n\n

As a new WordPress user, you should go to your dashboard to delete this page and create new pages for your content. Have fun!

\n', 'Sample Page', '', 'publish', 'closed', 'open', '', 'sample-page', '', '', '2021-01-18 09:24:11', '2021-01-18 09:24:11', '', 0, 'http://192.168.99.100:5050/?page_id=2', 0, 'page', '', 0), +(3, 1, '2021-01-18 09:24:11', '2021-01-18 09:24:11', '

Who we are

Our website address is: http://192.168.99.100:5050.

What personal data we collect and why we collect it

Comments

When visitors leave comments on the site we collect the data shown in the comments form, and also the visitor’s IP address and browser user agent string to help spam detection.

An anonymized string created from your email address (also called a hash) may be provided to the Gravatar service to see if you are using it. The Gravatar service privacy policy is available here: https://automattic.com/privacy/. After approval of your comment, your profile picture is visible to the public in the context of your comment.

Media

If you upload images to the website, you should avoid uploading images with embedded location data (EXIF GPS) included. Visitors to the website can download and extract any location data from images on the website.

Contact forms

Cookies

If you leave a comment on our site you may opt-in to saving your name, email address and website in cookies. These are for your convenience so that you do not have to fill in your details again when you leave another comment. These cookies will last for one year.

If you visit our login page, we will set a temporary cookie to determine if your browser accepts cookies. This cookie contains no personal data and is discarded when you close your browser.

When you log in, we will also set up several cookies to save your login information and your screen display choices. Login cookies last for two days, and screen options cookies last for a year. If you select "Remember Me", your login will persist for two weeks. If you log out of your account, the login cookies will be removed.

If you edit or publish an article, an additional cookie will be saved in your browser. This cookie includes no personal data and simply indicates the post ID of the article you just edited. It expires after 1 day.

Embedded content from other websites

Articles on this site may include embedded content (e.g. videos, images, articles, etc.). Embedded content from other websites behaves in the exact same way as if the visitor has visited the other website.

These websites may collect data about you, use cookies, embed additional third-party tracking, and monitor your interaction with that embedded content, including tracking your interaction with the embedded content if you have an account and are logged in to that website.

Analytics

Who we share your data with

If you request a password reset, your IP address will be included in the reset email.

How long we retain your data

If you leave a comment, the comment and its metadata are retained indefinitely. This is so we can recognize and approve any follow-up comments automatically instead of holding them in a moderation queue.

For users that register on our website (if any), we also store the personal information they provide in their user profile. All users can see, edit, or delete their personal information at any time (except they cannot change their username). Website administrators can also see and edit that information.

What rights you have over your data

If you have an account on this site, or have left comments, you can request to receive an exported file of the personal data we hold about you, including any data you have provided to us. You can also request that we erase any personal data we hold about you. This does not include any data we are obliged to keep for administrative, legal, or security purposes.

Where we send your data

Visitor comments may be checked through an automated spam detection service.

Your contact information

Additional information

How we protect your data

What data breach procedures we have in place

What third parties we receive data from

What automated decision making and/or profiling we do with user data

Industry regulatory disclosure requirements

', 'Privacy Policy', '', 'draft', 'closed', 'open', '', 'privacy-policy', '', '', '2021-01-18 09:24:11', '2021-01-18 09:24:11', '', 0, 'http://192.168.99.100:5050/?page_id=3', 0, 'page', '', 0), +(4, 1, '2021-01-18 09:25:04', '0000-00-00 00:00:00', '', 'Auto Draft', '', 'auto-draft', 'open', 'open', '', '', '', '', '2021-01-18 09:25:04', '0000-00-00 00:00:00', '', 0, 'http://192.168.99.100:5050/?p=4', 0, 'post', '', 0); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_termmeta` +-- + +CREATE TABLE `wp_termmeta` ( + `meta_id` bigint(20) UNSIGNED NOT NULL, + `term_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `meta_value` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_terms` +-- + +CREATE TABLE `wp_terms` ( + `term_id` bigint(20) UNSIGNED NOT NULL, + `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `slug` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `term_group` bigint(10) NOT NULL DEFAULT 0 +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_terms` +-- + +INSERT INTO `wp_terms` (`term_id`, `name`, `slug`, `term_group`) VALUES +(1, 'Uncategorized', 'uncategorized', 0); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_term_relationships` +-- + +CREATE TABLE `wp_term_relationships` ( + `object_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `term_taxonomy_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `term_order` int(11) NOT NULL DEFAULT 0 +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_term_relationships` +-- + +INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES +(1, 1, 0); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_term_taxonomy` +-- + +CREATE TABLE `wp_term_taxonomy` ( + `term_taxonomy_id` bigint(20) UNSIGNED NOT NULL, + `term_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `taxonomy` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `description` longtext COLLATE utf8mb4_unicode_ci NOT NULL, + `parent` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `count` bigint(20) NOT NULL DEFAULT 0 +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_term_taxonomy` +-- + +INSERT INTO `wp_term_taxonomy` (`term_taxonomy_id`, `term_id`, `taxonomy`, `description`, `parent`, `count`) VALUES +(1, 1, 'category', '', 0, 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_usermeta` +-- + +CREATE TABLE `wp_usermeta` ( + `umeta_id` bigint(20) UNSIGNED NOT NULL, + `user_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `meta_value` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_usermeta` +-- + +INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES +(1, 1, 'nickname', 'knfonda'), +(2, 1, 'first_name', ''), +(3, 1, 'last_name', ''), +(4, 1, 'description', ''), +(5, 1, 'rich_editing', 'true'), +(6, 1, 'syntax_highlighting', 'true'), +(7, 1, 'comment_shortcuts', 'false'), +(8, 1, 'admin_color', 'fresh'), +(9, 1, 'use_ssl', '0'), +(10, 1, 'show_admin_bar_front', 'true'), +(11, 1, 'locale', ''), +(12, 1, 'wp_capabilities', 'a:1:{s:13:\"administrator\";b:1;}'), +(13, 1, 'wp_user_level', '10'), +(14, 1, 'dismissed_wp_pointers', ''), +(15, 1, 'show_welcome_panel', '1'), +(16, 1, 'session_tokens', 'a:2:{s:64:\"be71fffa6529ce1d98bee866b68a84ccfeee266d6923f095f55870b46c578a1d\";a:4:{s:10:\"expiration\";i:1611134663;s:2:\"ip\";s:10:\"172.17.0.1\";s:2:\"ua\";s:120:\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36\";s:5:\"login\";i:1610961863;}s:64:\"3728a84abd04c8e3fc2c1dc7a30db76aa99c38cc3ee2063e02dfed65bee5b1d3\";a:4:{s:10:\"expiration\";i:1611137334;s:2:\"ip\";s:10:\"172.17.0.1\";s:2:\"ua\";s:120:\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36\";s:5:\"login\";i:1610964534;}}'), +(17, 1, 'wp_dashboard_quick_press_last_post_id', '4'), +(18, 2, 'nickname', 'knfonda1'), +(19, 2, 'first_name', ''), +(20, 2, 'last_name', ''), +(21, 2, 'description', ''), +(22, 2, 'rich_editing', 'true'), +(23, 2, 'syntax_highlighting', 'true'), +(24, 2, 'comment_shortcuts', 'false'), +(25, 2, 'admin_color', 'fresh'), +(26, 2, 'use_ssl', '0'), +(27, 2, 'show_admin_bar_front', 'true'), +(28, 2, 'locale', ''), +(29, 2, 'wp_capabilities', 'a:1:{s:6:\"editor\";b:1;}'), +(30, 2, 'wp_user_level', '7'), +(31, 2, 'dismissed_wp_pointers', ''), +(32, 3, 'nickname', 'knfonda2'), +(33, 3, 'first_name', ''), +(34, 3, 'last_name', ''), +(35, 3, 'description', ''), +(36, 3, 'rich_editing', 'true'), +(37, 3, 'syntax_highlighting', 'true'), +(38, 3, 'comment_shortcuts', 'false'), +(39, 3, 'admin_color', 'fresh'), +(40, 3, 'use_ssl', '0'), +(41, 3, 'show_admin_bar_front', 'true'), +(42, 3, 'locale', ''), +(43, 3, 'wp_capabilities', 'a:1:{s:6:\"editor\";b:1;}'), +(44, 3, 'wp_user_level', '7'), +(45, 3, 'dismissed_wp_pointers', ''); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_users` +-- + +CREATE TABLE `wp_users` ( + `ID` bigint(20) UNSIGNED NOT NULL, + `user_login` varchar(60) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `user_pass` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `user_nicename` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `user_email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `user_url` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `user_registered` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `user_activation_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `user_status` int(11) NOT NULL DEFAULT 0, + `display_name` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_users` +-- + +INSERT INTO `wp_users` (`ID`, `user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`) VALUES +(1, 'knfonda', '$P$BGcvX7eDadpakZqEptls2L7cvIEpw8/', 'knfonda', 'knfonda@mail.ru', 'http://192.168.99.100:5050', '2021-01-18 09:24:11', '', 0, 'knfonda'), +(2, 'knfonda1', '$P$B4xN.9djq1e/.zBb9mY0GrkoK585Ov/', 'knfonda1', 'knfonda1@mail.ru', '', '2021-01-18 09:44:14', '', 0, 'knfonda1'), +(3, 'knfonda2', '$P$B1gM0ZR1gB.Gg.Sj/HMeaC.x/cSPWX0', 'knfonda2', 'knfonda2@mail.ru', '', '2021-01-18 09:44:38', '1610963078:$P$BP27Hx8rJK2KolSLr80oCKPt47Msg70', 0, 'knfonda2'); + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `wp_commentmeta` +-- +ALTER TABLE `wp_commentmeta` + ADD PRIMARY KEY (`meta_id`), + ADD KEY `comment_id` (`comment_id`), + ADD KEY `meta_key` (`meta_key`(191)); + +-- +-- Indexes for table `wp_comments` +-- +ALTER TABLE `wp_comments` + ADD PRIMARY KEY (`comment_ID`), + ADD KEY `comment_post_ID` (`comment_post_ID`), + ADD KEY `comment_approved_date_gmt` (`comment_approved`,`comment_date_gmt`), + ADD KEY `comment_date_gmt` (`comment_date_gmt`), + ADD KEY `comment_parent` (`comment_parent`), + ADD KEY `comment_author_email` (`comment_author_email`(10)); + +-- +-- Indexes for table `wp_links` +-- +ALTER TABLE `wp_links` + ADD PRIMARY KEY (`link_id`), + ADD KEY `link_visible` (`link_visible`); + +-- +-- Indexes for table `wp_options` +-- +ALTER TABLE `wp_options` + ADD PRIMARY KEY (`option_id`), + ADD UNIQUE KEY `option_name` (`option_name`), + ADD KEY `autoload` (`autoload`); + +-- +-- Indexes for table `wp_postmeta` +-- +ALTER TABLE `wp_postmeta` + ADD PRIMARY KEY (`meta_id`), + ADD KEY `post_id` (`post_id`), + ADD KEY `meta_key` (`meta_key`(191)); + +-- +-- Indexes for table `wp_posts` +-- +ALTER TABLE `wp_posts` + ADD PRIMARY KEY (`ID`), + ADD KEY `post_name` (`post_name`(191)), + ADD KEY `type_status_date` (`post_type`,`post_status`,`post_date`,`ID`), + ADD KEY `post_parent` (`post_parent`), + ADD KEY `post_author` (`post_author`); + +-- +-- Indexes for table `wp_termmeta` +-- +ALTER TABLE `wp_termmeta` + ADD PRIMARY KEY (`meta_id`), + ADD KEY `term_id` (`term_id`), + ADD KEY `meta_key` (`meta_key`(191)); + +-- +-- Indexes for table `wp_terms` +-- +ALTER TABLE `wp_terms` + ADD PRIMARY KEY (`term_id`), + ADD KEY `slug` (`slug`(191)), + ADD KEY `name` (`name`(191)); + +-- +-- Indexes for table `wp_term_relationships` +-- +ALTER TABLE `wp_term_relationships` + ADD PRIMARY KEY (`object_id`,`term_taxonomy_id`), + ADD KEY `term_taxonomy_id` (`term_taxonomy_id`); + +-- +-- Indexes for table `wp_term_taxonomy` +-- +ALTER TABLE `wp_term_taxonomy` + ADD PRIMARY KEY (`term_taxonomy_id`), + ADD UNIQUE KEY `term_id_taxonomy` (`term_id`,`taxonomy`), + ADD KEY `taxonomy` (`taxonomy`); + +-- +-- Indexes for table `wp_usermeta` +-- +ALTER TABLE `wp_usermeta` + ADD PRIMARY KEY (`umeta_id`), + ADD KEY `user_id` (`user_id`), + ADD KEY `meta_key` (`meta_key`(191)); + +-- +-- Indexes for table `wp_users` +-- +ALTER TABLE `wp_users` + ADD PRIMARY KEY (`ID`), + ADD KEY `user_login_key` (`user_login`), + ADD KEY `user_nicename` (`user_nicename`), + ADD KEY `user_email` (`user_email`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `wp_commentmeta` +-- +ALTER TABLE `wp_commentmeta` + MODIFY `meta_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `wp_comments` +-- +ALTER TABLE `wp_comments` + MODIFY `comment_ID` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `wp_links` +-- +ALTER TABLE `wp_links` + MODIFY `link_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `wp_options` +-- +ALTER TABLE `wp_options` + MODIFY `option_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=133; + +-- +-- AUTO_INCREMENT for table `wp_postmeta` +-- +ALTER TABLE `wp_postmeta` + MODIFY `meta_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `wp_posts` +-- +ALTER TABLE `wp_posts` + MODIFY `ID` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; + +-- +-- AUTO_INCREMENT for table `wp_termmeta` +-- +ALTER TABLE `wp_termmeta` + MODIFY `meta_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `wp_terms` +-- +ALTER TABLE `wp_terms` + MODIFY `term_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `wp_term_taxonomy` +-- +ALTER TABLE `wp_term_taxonomy` + MODIFY `term_taxonomy_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `wp_usermeta` +-- +ALTER TABLE `wp_usermeta` + MODIFY `umeta_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=47; + +-- +-- AUTO_INCREMENT for table `wp_users` +-- +ALTER TABLE `wp_users` + MODIFY `ID` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/srcs/newmysql/Dockerfile b/srcs/newmysql/Dockerfile new file mode 100644 index 0000000..6c89cfb --- /dev/null +++ b/srcs/newmysql/Dockerfile @@ -0,0 +1,18 @@ +FROM alpine:3.12.3 + +RUN apk update && apk upgrade +RUN apk add mariadb mariadb-client openrc + +RUN mkdir "/run/mysqld" && chown -R mysql /run/mysqld + +COPY create_db.sql . +COPY my.cnf /etc/ +COPY wp_db.sql . +COPY start_mysql.sh . +RUN chmod +x start_mysql.sh + +VOLUME ["/var/lib/mysql"] + +EXPOSE 3306 + +CMD sh start_mysql.sh \ No newline at end of file diff --git a/srcs/newmysql/create_db.sql b/srcs/newmysql/create_db.sql new file mode 100644 index 0000000..e71466f --- /dev/null +++ b/srcs/newmysql/create_db.sql @@ -0,0 +1,3 @@ +CREATE DATABASE wp_db; +GRANT ALL PRIVILEGES ON *.* TO 'mdenys'@'%' IDENTIFIED BY 'mdenys' WITH GRANT OPTION; +FLUSH PRIVILEGES; \ No newline at end of file diff --git a/srcs/newmysql/mariadb.yaml b/srcs/newmysql/mariadb.yaml new file mode 100644 index 0000000..50a94b6 --- /dev/null +++ b/srcs/newmysql/mariadb.yaml @@ -0,0 +1,80 @@ +apiVersion: v1 +kind: Service +metadata: + name: mariadb-service + labels: + app: mariadb +spec: + type: ClusterIP + ports: + - port: 3306 + name: mariadb + targetPort: 3306 + selector: + app: mariadb + +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: mariadb + labels: + app: mariadb +spec: + selector: + matchLabels: + app: mariadb + replicas: 1 + strategy: + type: Recreate + template: + metadata: + labels: + app: mariadb + spec: + containers: + - name: mariadb-container + image: mariadb-image + imagePullPolicy: Never + ports: + - containerPort: 3306 + volumeMounts: + - mountPath: "/var/lib/mysql" + name: mariadb-pv + volumes: + - name: mariadb-pv + persistentVolumeClaim: + claimName: mariadb-pvc + +--- +apiVersion: v1 +kind: PersistentVolume +metadata: + name: mariadb-pv + labels: + type: local +spec: + storageClassName: manual + capacity: + storage: 500Mi + accessModes: + - ReadWriteOnce + hostPath: + path: "/var/lib/mysql" + claimRef: + name: mysql-pvc + +--- + +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: mariadb-pvc + labels: + app: mariadb +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 500Mi \ No newline at end of file diff --git a/srcs/newmysql/my.cnf b/srcs/newmysql/my.cnf new file mode 100644 index 0000000..199e4a0 --- /dev/null +++ b/srcs/newmysql/my.cnf @@ -0,0 +1,7 @@ +[mysqld] + +user = root +port = 3306 +datadir = /var/lib/mysql +bind-address = 0.0.0.0 +skip-networking = false \ No newline at end of file diff --git a/srcs/newmysql/start_mysql.sh b/srcs/newmysql/start_mysql.sh new file mode 100755 index 0000000..36f7e83 --- /dev/null +++ b/srcs/newmysql/start_mysql.sh @@ -0,0 +1,7 @@ +openrc default +/etc/init.d/mariadb setup +rc-service mariadb start +mysql < create_db.sql +mysql -u root wp_db < wp_db.sql +rc-service mariadb stop +/usr/bin/mysqld_safe --datadir="/var/lib/mysql" \ No newline at end of file diff --git a/srcs/newmysql/wp_db.sql b/srcs/newmysql/wp_db.sql new file mode 100644 index 0000000..a96f804 --- /dev/null +++ b/srcs/newmysql/wp_db.sql @@ -0,0 +1,661 @@ +-- phpMyAdmin SQL Dump +-- version 5.0.2 +-- https://www.phpmyadmin.net/ +-- +-- Host: mariadb-service:3306 +-- Generation Time: Nov 15, 2020 at 12:11 PM +-- Server version: 10.4.15-MariaDB +-- PHP Version: 7.3.24 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- Database: `wp_db` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_commentmeta` +-- + +CREATE TABLE `wp_commentmeta` ( + `meta_id` bigint(20) UNSIGNED NOT NULL, + `comment_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `meta_value` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_comments` +-- + +CREATE TABLE `wp_comments` ( + `comment_ID` bigint(20) UNSIGNED NOT NULL, + `comment_post_ID` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `comment_author` tinytext COLLATE utf8mb4_unicode_ci NOT NULL, + `comment_author_email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `comment_author_url` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `comment_author_IP` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `comment_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `comment_date_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `comment_content` text COLLATE utf8mb4_unicode_ci NOT NULL, + `comment_karma` int(11) NOT NULL DEFAULT 0, + `comment_approved` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1', + `comment_agent` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `comment_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'comment', + `comment_parent` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `user_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0 +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_comments` +-- + +INSERT INTO `wp_comments` (`comment_ID`, `comment_post_ID`, `comment_author`, `comment_author_email`, `comment_author_url`, `comment_author_IP`, `comment_date`, `comment_date_gmt`, `comment_content`, `comment_karma`, `comment_approved`, `comment_agent`, `comment_type`, `comment_parent`, `user_id`) VALUES +(1, 1, 'A WordPress Commenter', 'wapuu@wordpress.example', 'https://wordpress.org/', '', '2020-11-15 12:06:33', '2020-11-15 12:06:33', 'Hi, this is a comment.\nTo get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.\nCommenter avatars come from Gravatar.', 0, '1', '', 'comment', 0, 0), +(2, 1, 'mkristie', 'mkristie@student.21-school.ru', 'http://192.168.99.221:5050', '172.17.0.1', '2020-11-15 12:10:14', '2020-11-15 12:10:14', 'one more comment', 0, '1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36', 'comment', 0, 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_links` +-- + +CREATE TABLE `wp_links` ( + `link_id` bigint(20) UNSIGNED NOT NULL, + `link_url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `link_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `link_image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `link_target` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `link_description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `link_visible` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Y', + `link_owner` bigint(20) UNSIGNED NOT NULL DEFAULT 1, + `link_rating` int(11) NOT NULL DEFAULT 0, + `link_updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `link_rel` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `link_notes` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, + `link_rss` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_options` +-- + +CREATE TABLE `wp_options` ( + `option_id` bigint(20) UNSIGNED NOT NULL, + `option_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `option_value` longtext COLLATE utf8mb4_unicode_ci NOT NULL, + `autoload` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_options` +-- + +INSERT INTO `wp_options` (`option_id`, `option_name`, `option_value`, `autoload`) VALUES +(1, 'siteurl', 'http://192.168.99.221:5050', 'yes'), +(2, 'home', 'http://192.168.99.221:5050', 'yes'), +(3, 'blogname', '21 school', 'yes'), +(4, 'blogdescription', 'Just another WordPress site', 'yes'), +(5, 'users_can_register', '0', 'yes'), +(6, 'admin_email', 'mkristie@student.21-school.ru', 'yes'), +(7, 'start_of_week', '1', 'yes'), +(8, 'use_balanceTags', '0', 'yes'), +(9, 'use_smilies', '1', 'yes'), +(10, 'require_name_email', '1', 'yes'), +(11, 'comments_notify', '1', 'yes'), +(12, 'posts_per_rss', '10', 'yes'), +(13, 'rss_use_excerpt', '0', 'yes'), +(14, 'mailserver_url', 'mail.example.com', 'yes'), +(15, 'mailserver_login', 'login@example.com', 'yes'), +(16, 'mailserver_pass', 'password', 'yes'), +(17, 'mailserver_port', '110', 'yes'), +(18, 'default_category', '1', 'yes'), +(19, 'default_comment_status', 'open', 'yes'), +(20, 'default_ping_status', 'open', 'yes'), +(21, 'default_pingback_flag', '1', 'yes'), +(22, 'posts_per_page', '10', 'yes'), +(23, 'date_format', 'F j, Y', 'yes'), +(24, 'time_format', 'g:i a', 'yes'), +(25, 'links_updated_date_format', 'F j, Y g:i a', 'yes'), +(26, 'comment_moderation', '0', 'yes'), +(27, 'moderation_notify', '1', 'yes'), +(28, 'permalink_structure', '', 'yes'), +(29, 'rewrite_rules', '', 'yes'), +(30, 'hack_file', '0', 'yes'), +(31, 'blog_charset', 'UTF-8', 'yes'), +(32, 'moderation_keys', '', 'no'), +(33, 'active_plugins', 'a:0:{}', 'yes'), +(34, 'category_base', '', 'yes'), +(35, 'ping_sites', 'http://rpc.pingomatic.com/', 'yes'), +(36, 'comment_max_links', '2', 'yes'), +(37, 'gmt_offset', '0', 'yes'), +(38, 'default_email_category', '1', 'yes'), +(39, 'recently_edited', '', 'no'), +(40, 'template', 'twentytwenty', 'yes'), +(41, 'stylesheet', 'twentytwenty', 'yes'), +(42, 'comment_registration', '0', 'yes'), +(43, 'html_type', 'text/html', 'yes'), +(44, 'use_trackback', '0', 'yes'), +(45, 'default_role', 'subscriber', 'yes'), +(46, 'db_version', '48748', 'yes'), +(47, 'uploads_use_yearmonth_folders', '1', 'yes'), +(48, 'upload_path', '', 'yes'), +(49, 'blog_public', '1', 'yes'), +(50, 'default_link_category', '2', 'yes'), +(51, 'show_on_front', 'posts', 'yes'), +(52, 'tag_base', '', 'yes'), +(53, 'show_avatars', '1', 'yes'), +(54, 'avatar_rating', 'G', 'yes'), +(55, 'upload_url_path', '', 'yes'), +(56, 'thumbnail_size_w', '150', 'yes'), +(57, 'thumbnail_size_h', '150', 'yes'), +(58, 'thumbnail_crop', '1', 'yes'), +(59, 'medium_size_w', '300', 'yes'), +(60, 'medium_size_h', '300', 'yes'), +(61, 'avatar_default', 'mystery', 'yes'), +(62, 'large_size_w', '1024', 'yes'), +(63, 'large_size_h', '1024', 'yes'), +(64, 'image_default_link_type', 'none', 'yes'), +(65, 'image_default_size', '', 'yes'), +(66, 'image_default_align', '', 'yes'), +(67, 'close_comments_for_old_posts', '0', 'yes'), +(68, 'close_comments_days_old', '14', 'yes'), +(69, 'thread_comments', '1', 'yes'), +(70, 'thread_comments_depth', '5', 'yes'), +(71, 'page_comments', '0', 'yes'), +(72, 'comments_per_page', '50', 'yes'), +(73, 'default_comments_page', 'newest', 'yes'), +(74, 'comment_order', 'asc', 'yes'), +(75, 'sticky_posts', 'a:0:{}', 'yes'), +(76, 'widget_categories', 'a:2:{i:2;a:4:{s:5:\"title\";s:0:\"\";s:5:\"count\";i:0;s:12:\"hierarchical\";i:0;s:8:\"dropdown\";i:0;}s:12:\"_multiwidget\";i:1;}', 'yes'), +(77, 'widget_text', 'a:0:{}', 'yes'), +(78, 'widget_rss', 'a:0:{}', 'yes'), +(79, 'uninstall_plugins', 'a:0:{}', 'no'), +(80, 'timezone_string', '', 'yes'), +(81, 'page_for_posts', '0', 'yes'), +(82, 'page_on_front', '0', 'yes'), +(83, 'default_post_format', '0', 'yes'), +(84, 'link_manager_enabled', '0', 'yes'), +(85, 'finished_splitting_shared_terms', '1', 'yes'), +(86, 'site_icon', '0', 'yes'), +(87, 'medium_large_size_w', '768', 'yes'), +(88, 'medium_large_size_h', '0', 'yes'), +(89, 'wp_page_for_privacy_policy', '3', 'yes'), +(90, 'show_comments_cookies_opt_in', '1', 'yes'), +(91, 'admin_email_lifespan', '1620993992', 'yes'), +(92, 'disallowed_keys', '', 'no'), +(93, 'comment_previously_approved', '1', 'yes'), +(94, 'auto_plugin_theme_update_emails', 'a:0:{}', 'no'), +(95, 'initial_db_version', '48748', 'yes'), +(96, 'wp_user_roles', 'a:5:{s:13:\"administrator\";a:2:{s:4:\"name\";s:13:\"Administrator\";s:12:\"capabilities\";a:61:{s:13:\"switch_themes\";b:1;s:11:\"edit_themes\";b:1;s:16:\"activate_plugins\";b:1;s:12:\"edit_plugins\";b:1;s:10:\"edit_users\";b:1;s:10:\"edit_files\";b:1;s:14:\"manage_options\";b:1;s:17:\"moderate_comments\";b:1;s:17:\"manage_categories\";b:1;s:12:\"manage_links\";b:1;s:12:\"upload_files\";b:1;s:6:\"import\";b:1;s:15:\"unfiltered_html\";b:1;s:10:\"edit_posts\";b:1;s:17:\"edit_others_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:10:\"edit_pages\";b:1;s:4:\"read\";b:1;s:8:\"level_10\";b:1;s:7:\"level_9\";b:1;s:7:\"level_8\";b:1;s:7:\"level_7\";b:1;s:7:\"level_6\";b:1;s:7:\"level_5\";b:1;s:7:\"level_4\";b:1;s:7:\"level_3\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:17:\"edit_others_pages\";b:1;s:20:\"edit_published_pages\";b:1;s:13:\"publish_pages\";b:1;s:12:\"delete_pages\";b:1;s:19:\"delete_others_pages\";b:1;s:22:\"delete_published_pages\";b:1;s:12:\"delete_posts\";b:1;s:19:\"delete_others_posts\";b:1;s:22:\"delete_published_posts\";b:1;s:20:\"delete_private_posts\";b:1;s:18:\"edit_private_posts\";b:1;s:18:\"read_private_posts\";b:1;s:20:\"delete_private_pages\";b:1;s:18:\"edit_private_pages\";b:1;s:18:\"read_private_pages\";b:1;s:12:\"delete_users\";b:1;s:12:\"create_users\";b:1;s:17:\"unfiltered_upload\";b:1;s:14:\"edit_dashboard\";b:1;s:14:\"update_plugins\";b:1;s:14:\"delete_plugins\";b:1;s:15:\"install_plugins\";b:1;s:13:\"update_themes\";b:1;s:14:\"install_themes\";b:1;s:11:\"update_core\";b:1;s:10:\"list_users\";b:1;s:12:\"remove_users\";b:1;s:13:\"promote_users\";b:1;s:18:\"edit_theme_options\";b:1;s:13:\"delete_themes\";b:1;s:6:\"export\";b:1;}}s:6:\"editor\";a:2:{s:4:\"name\";s:6:\"Editor\";s:12:\"capabilities\";a:34:{s:17:\"moderate_comments\";b:1;s:17:\"manage_categories\";b:1;s:12:\"manage_links\";b:1;s:12:\"upload_files\";b:1;s:15:\"unfiltered_html\";b:1;s:10:\"edit_posts\";b:1;s:17:\"edit_others_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:10:\"edit_pages\";b:1;s:4:\"read\";b:1;s:7:\"level_7\";b:1;s:7:\"level_6\";b:1;s:7:\"level_5\";b:1;s:7:\"level_4\";b:1;s:7:\"level_3\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:17:\"edit_others_pages\";b:1;s:20:\"edit_published_pages\";b:1;s:13:\"publish_pages\";b:1;s:12:\"delete_pages\";b:1;s:19:\"delete_others_pages\";b:1;s:22:\"delete_published_pages\";b:1;s:12:\"delete_posts\";b:1;s:19:\"delete_others_posts\";b:1;s:22:\"delete_published_posts\";b:1;s:20:\"delete_private_posts\";b:1;s:18:\"edit_private_posts\";b:1;s:18:\"read_private_posts\";b:1;s:20:\"delete_private_pages\";b:1;s:18:\"edit_private_pages\";b:1;s:18:\"read_private_pages\";b:1;}}s:6:\"author\";a:2:{s:4:\"name\";s:6:\"Author\";s:12:\"capabilities\";a:10:{s:12:\"upload_files\";b:1;s:10:\"edit_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:4:\"read\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:12:\"delete_posts\";b:1;s:22:\"delete_published_posts\";b:1;}}s:11:\"contributor\";a:2:{s:4:\"name\";s:11:\"Contributor\";s:12:\"capabilities\";a:5:{s:10:\"edit_posts\";b:1;s:4:\"read\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:12:\"delete_posts\";b:1;}}s:10:\"subscriber\";a:2:{s:4:\"name\";s:10:\"Subscriber\";s:12:\"capabilities\";a:2:{s:4:\"read\";b:1;s:7:\"level_0\";b:1;}}}', 'yes'), +(97, 'fresh_site', '1', 'yes'), +(98, 'widget_search', 'a:2:{i:2;a:1:{s:5:\"title\";s:0:\"\";}s:12:\"_multiwidget\";i:1;}', 'yes'), +(99, 'widget_recent-posts', 'a:2:{i:2;a:2:{s:5:\"title\";s:0:\"\";s:6:\"number\";i:5;}s:12:\"_multiwidget\";i:1;}', 'yes'), +(100, 'widget_recent-comments', 'a:2:{i:2;a:2:{s:5:\"title\";s:0:\"\";s:6:\"number\";i:5;}s:12:\"_multiwidget\";i:1;}', 'yes'), +(101, 'widget_archives', 'a:2:{i:2;a:3:{s:5:\"title\";s:0:\"\";s:5:\"count\";i:0;s:8:\"dropdown\";i:0;}s:12:\"_multiwidget\";i:1;}', 'yes'), +(102, 'widget_meta', 'a:2:{i:2;a:1:{s:5:\"title\";s:0:\"\";}s:12:\"_multiwidget\";i:1;}', 'yes'), +(103, 'sidebars_widgets', 'a:4:{s:19:\"wp_inactive_widgets\";a:0:{}s:9:\"sidebar-1\";a:3:{i:0;s:8:\"search-2\";i:1;s:14:\"recent-posts-2\";i:2;s:17:\"recent-comments-2\";}s:9:\"sidebar-2\";a:3:{i:0;s:10:\"archives-2\";i:1;s:12:\"categories-2\";i:2;s:6:\"meta-2\";}s:13:\"array_version\";i:3;}', 'yes'), +(104, 'cron', 'a:7:{i:1605442006;a:1:{s:32:\"recovery_mode_clean_expired_keys\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}}i:1605442007;a:4:{s:34:\"wp_privacy_delete_old_export_files\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:6:\"hourly\";s:4:\"args\";a:0:{}s:8:\"interval\";i:3600;}}s:16:\"wp_version_check\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}s:17:\"wp_update_plugins\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}s:16:\"wp_update_themes\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}}i:1605442013;a:2:{s:19:\"wp_scheduled_delete\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}s:25:\"delete_expired_transients\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}}i:1605442015;a:1:{s:30:\"wp_scheduled_auto_draft_delete\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}}i:1605442073;a:1:{s:28:\"wp_update_comment_type_batch\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:2:{s:8:\"schedule\";b:0;s:4:\"args\";a:0:{}}}}i:1605528406;a:1:{s:30:\"wp_site_health_scheduled_check\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:6:\"weekly\";s:4:\"args\";a:0:{}s:8:\"interval\";i:604800;}}}s:7:\"version\";i:2;}', 'yes'), +(105, 'widget_pages', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(106, 'widget_calendar', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(107, 'widget_media_audio', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(108, 'widget_media_image', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(109, 'widget_media_gallery', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(110, 'widget_media_video', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(111, 'widget_tag_cloud', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(112, 'widget_nav_menu', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(113, 'widget_custom_html', 'a:1:{s:12:\"_multiwidget\";i:1;}', 'yes'), +(114, '_transient_doing_cron', '1605442192.4769809246063232421875', 'yes'), +(115, '_site_transient_update_core', 'O:8:\"stdClass\":4:{s:7:\"updates\";a:1:{i:0;O:8:\"stdClass\":10:{s:8:\"response\";s:6:\"latest\";s:8:\"download\";s:59:\"https://downloads.wordpress.org/release/wordpress-5.5.3.zip\";s:6:\"locale\";s:5:\"en_US\";s:8:\"packages\";O:8:\"stdClass\":5:{s:4:\"full\";s:59:\"https://downloads.wordpress.org/release/wordpress-5.5.3.zip\";s:10:\"no_content\";s:70:\"https://downloads.wordpress.org/release/wordpress-5.5.3-no-content.zip\";s:11:\"new_bundled\";s:71:\"https://downloads.wordpress.org/release/wordpress-5.5.3-new-bundled.zip\";s:7:\"partial\";s:0:\"\";s:8:\"rollback\";s:0:\"\";}s:7:\"current\";s:5:\"5.5.3\";s:7:\"version\";s:5:\"5.5.3\";s:11:\"php_version\";s:6:\"5.6.20\";s:13:\"mysql_version\";s:3:\"5.0\";s:11:\"new_bundled\";s:3:\"5.3\";s:15:\"partial_version\";s:0:\"\";}}s:12:\"last_checked\";i:1605442013;s:15:\"version_checked\";s:5:\"5.5.3\";s:12:\"translations\";a:0:{}}', 'no'), +(116, '_site_transient_update_plugins', 'O:8:\"stdClass\":4:{s:12:\"last_checked\";i:1605442013;s:8:\"response\";a:0:{}s:12:\"translations\";a:0:{}s:9:\"no_update\";a:2:{s:19:\"akismet/akismet.php\";O:8:\"stdClass\":9:{s:2:\"id\";s:21:\"w.org/plugins/akismet\";s:4:\"slug\";s:7:\"akismet\";s:6:\"plugin\";s:19:\"akismet/akismet.php\";s:11:\"new_version\";s:5:\"4.1.7\";s:3:\"url\";s:38:\"https://wordpress.org/plugins/akismet/\";s:7:\"package\";s:56:\"https://downloads.wordpress.org/plugin/akismet.4.1.7.zip\";s:5:\"icons\";a:2:{s:2:\"2x\";s:59:\"https://ps.w.org/akismet/assets/icon-256x256.png?rev=969272\";s:2:\"1x\";s:59:\"https://ps.w.org/akismet/assets/icon-128x128.png?rev=969272\";}s:7:\"banners\";a:1:{s:2:\"1x\";s:61:\"https://ps.w.org/akismet/assets/banner-772x250.jpg?rev=479904\";}s:11:\"banners_rtl\";a:0:{}}s:9:\"hello.php\";O:8:\"stdClass\":9:{s:2:\"id\";s:25:\"w.org/plugins/hello-dolly\";s:4:\"slug\";s:11:\"hello-dolly\";s:6:\"plugin\";s:9:\"hello.php\";s:11:\"new_version\";s:5:\"1.7.2\";s:3:\"url\";s:42:\"https://wordpress.org/plugins/hello-dolly/\";s:7:\"package\";s:60:\"https://downloads.wordpress.org/plugin/hello-dolly.1.7.2.zip\";s:5:\"icons\";a:2:{s:2:\"2x\";s:64:\"https://ps.w.org/hello-dolly/assets/icon-256x256.jpg?rev=2052855\";s:2:\"1x\";s:64:\"https://ps.w.org/hello-dolly/assets/icon-128x128.jpg?rev=2052855\";}s:7:\"banners\";a:1:{s:2:\"1x\";s:66:\"https://ps.w.org/hello-dolly/assets/banner-772x250.jpg?rev=2052855\";}s:11:\"banners_rtl\";a:0:{}}}}', 'no'), +(117, '_site_transient_timeout_theme_roots', '1605443813', 'no'), +(118, '_site_transient_theme_roots', 'a:3:{s:14:\"twentynineteen\";s:7:\"/themes\";s:15:\"twentyseventeen\";s:7:\"/themes\";s:12:\"twentytwenty\";s:7:\"/themes\";}', 'no'), +(119, '_site_transient_update_themes', 'O:8:\"stdClass\":5:{s:12:\"last_checked\";i:1605442014;s:7:\"checked\";a:3:{s:14:\"twentynineteen\";s:3:\"1.7\";s:15:\"twentyseventeen\";s:3:\"2.4\";s:12:\"twentytwenty\";s:3:\"1.5\";}s:8:\"response\";a:0:{}s:9:\"no_update\";a:3:{s:14:\"twentynineteen\";a:6:{s:5:\"theme\";s:14:\"twentynineteen\";s:11:\"new_version\";s:3:\"1.7\";s:3:\"url\";s:44:\"https://wordpress.org/themes/twentynineteen/\";s:7:\"package\";s:60:\"https://downloads.wordpress.org/theme/twentynineteen.1.7.zip\";s:8:\"requires\";s:5:\"4.9.6\";s:12:\"requires_php\";s:5:\"5.2.4\";}s:15:\"twentyseventeen\";a:6:{s:5:\"theme\";s:15:\"twentyseventeen\";s:11:\"new_version\";s:3:\"2.4\";s:3:\"url\";s:45:\"https://wordpress.org/themes/twentyseventeen/\";s:7:\"package\";s:61:\"https://downloads.wordpress.org/theme/twentyseventeen.2.4.zip\";s:8:\"requires\";s:3:\"4.7\";s:12:\"requires_php\";s:5:\"5.2.4\";}s:12:\"twentytwenty\";a:6:{s:5:\"theme\";s:12:\"twentytwenty\";s:11:\"new_version\";s:3:\"1.5\";s:3:\"url\";s:42:\"https://wordpress.org/themes/twentytwenty/\";s:7:\"package\";s:58:\"https://downloads.wordpress.org/theme/twentytwenty.1.5.zip\";s:8:\"requires\";s:3:\"4.7\";s:12:\"requires_php\";s:5:\"5.2.4\";}}s:12:\"translations\";a:0:{}}', 'no'), +(120, '_site_transient_timeout_browser_4fa7ae78241e50d3047c1a4e5335bf85', '1606046814', 'no'), +(121, '_site_transient_browser_4fa7ae78241e50d3047c1a4e5335bf85', 'a:10:{s:4:\"name\";s:6:\"Chrome\";s:7:\"version\";s:13:\"85.0.4183.102\";s:8:\"platform\";s:9:\"Macintosh\";s:10:\"update_url\";s:29:\"https://www.google.com/chrome\";s:7:\"img_src\";s:43:\"http://s.w.org/images/browsers/chrome.png?1\";s:11:\"img_src_ssl\";s:44:\"https://s.w.org/images/browsers/chrome.png?1\";s:15:\"current_version\";s:2:\"18\";s:7:\"upgrade\";b:0;s:8:\"insecure\";b:0;s:6:\"mobile\";b:0;}', 'no'), +(122, '_site_transient_timeout_php_check_2debc8e82478e38195a363625a9d2ce2', '1606046815', 'no'), +(123, '_site_transient_php_check_2debc8e82478e38195a363625a9d2ce2', 'a:5:{s:19:\"recommended_version\";s:3:\"7.4\";s:15:\"minimum_version\";s:6:\"5.6.20\";s:12:\"is_supported\";b:1;s:9:\"is_secure\";b:1;s:13:\"is_acceptable\";b:1;}', 'no'), +(124, '_transient_timeout_dash_v2_88ae138922fe95674369b1cb3d215a2b', '1605485216', 'no'), +(125, '_transient_dash_v2_88ae138922fe95674369b1cb3d215a2b', '

RSS Error: XML or PCRE extensions not loaded!

RSS Error: XML or PCRE extensions not loaded!

', 'no'), +(126, 'can_compress_scripts', '1', 'no'), +(127, '_site_transient_timeout_community-events-e2f2ed925cc0dc7eddd67ec58c0404fa', '1605485217', 'no'), +(128, '_site_transient_community-events-e2f2ed925cc0dc7eddd67ec58c0404fa', 'a:4:{s:9:\"sandboxed\";b:0;s:5:\"error\";N;s:8:\"location\";a:1:{s:2:\"ip\";s:10:\"172.17.0.0\";}s:6:\"events\";a:2:{i:0;a:10:{s:4:\"type\";s:6:\"meetup\";s:5:\"title\";s:75:\"Discussion Group: Who am I to be speaking? + Finding a topic for a WP event\";s:3:\"url\";s:68:\"https://www.meetup.com/learn-wordpress-discussions/events/274559494/\";s:6:\"meetup\";s:27:\"Learn WordPress Discussions\";s:10:\"meetup_url\";s:51:\"https://www.meetup.com/learn-wordpress-discussions/\";s:4:\"date\";s:19:\"2020-11-18 09:00:00\";s:8:\"end_date\";s:19:\"2020-11-18 10:00:00\";s:20:\"start_unix_timestamp\";i:1605718800;s:18:\"end_unix_timestamp\";i:1605722400;s:8:\"location\";a:4:{s:8:\"location\";s:6:\"Online\";s:7:\"country\";s:2:\"US\";s:8:\"latitude\";d:37.779998779297;s:9:\"longitude\";d:-122.41999816895;}}i:1;a:10:{s:4:\"type\";s:8:\"wordcamp\";s:5:\"title\";s:23:\"WordCamp México Online\";s:3:\"url\";s:33:\"https://mexico.wordcamp.org/2020/\";s:6:\"meetup\";N;s:10:\"meetup_url\";N;s:4:\"date\";s:19:\"2020-11-25 10:00:00\";s:8:\"end_date\";s:19:\"2020-11-28 00:00:00\";s:20:\"start_unix_timestamp\";i:1606320000;s:18:\"end_unix_timestamp\";i:1606543200;s:8:\"location\";a:4:{s:8:\"location\";s:6:\"Online\";s:7:\"country\";s:2:\"MX\";s:8:\"latitude\";d:19.3842176;s:9:\"longitude\";d:-99.1290812;}}}}', 'no'), +(129, 'theme_mods_twentytwenty', 'a:1:{s:18:\"custom_css_post_id\";i:-1;}', 'yes'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_postmeta` +-- + +CREATE TABLE `wp_postmeta` ( + `meta_id` bigint(20) UNSIGNED NOT NULL, + `post_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `meta_value` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_postmeta` +-- + +INSERT INTO `wp_postmeta` (`meta_id`, `post_id`, `meta_key`, `meta_value`) VALUES +(1, 2, '_wp_page_template', 'default'), +(2, 3, '_wp_page_template', 'default'); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_posts` +-- + +CREATE TABLE `wp_posts` ( + `ID` bigint(20) UNSIGNED NOT NULL, + `post_author` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `post_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `post_date_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `post_content` longtext COLLATE utf8mb4_unicode_ci NOT NULL, + `post_title` text COLLATE utf8mb4_unicode_ci NOT NULL, + `post_excerpt` text COLLATE utf8mb4_unicode_ci NOT NULL, + `post_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'publish', + `comment_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open', + `ping_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open', + `post_password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `post_name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `to_ping` text COLLATE utf8mb4_unicode_ci NOT NULL, + `pinged` text COLLATE utf8mb4_unicode_ci NOT NULL, + `post_modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `post_modified_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `post_content_filtered` longtext COLLATE utf8mb4_unicode_ci NOT NULL, + `post_parent` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `guid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `menu_order` int(11) NOT NULL DEFAULT 0, + `post_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'post', + `post_mime_type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `comment_count` bigint(20) NOT NULL DEFAULT 0 +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_posts` +-- + +INSERT INTO `wp_posts` (`ID`, `post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_excerpt`, `post_status`, `comment_status`, `ping_status`, `post_password`, `post_name`, `to_ping`, `pinged`, `post_modified`, `post_modified_gmt`, `post_content_filtered`, `post_parent`, `guid`, `menu_order`, `post_type`, `post_mime_type`, `comment_count`) VALUES +(1, 1, '2020-11-15 12:06:33', '2020-11-15 12:06:33', '\n

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

\n', 'Hello world!', '', 'publish', 'open', 'open', '', 'hello-world', '', '', '2020-11-15 12:06:33', '2020-11-15 12:06:33', '', 0, 'http://192.168.99.221:5050/?p=1', 0, 'post', '', 2), +(2, 1, '2020-11-15 12:06:33', '2020-11-15 12:06:33', '\n

This is an example page. It\'s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:

\n\n\n\n

Hi there! I\'m a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin\' caught in the rain.)

\n\n\n\n

...or something like this:

\n\n\n\n

The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.

\n\n\n\n

As a new WordPress user, you should go to your dashboard to delete this page and create new pages for your content. Have fun!

\n', 'Sample Page', '', 'publish', 'closed', 'open', '', 'sample-page', '', '', '2020-11-15 12:06:33', '2020-11-15 12:06:33', '', 0, 'http://192.168.99.221:5050/?page_id=2', 0, 'page', '', 0), +(3, 1, '2020-11-15 12:06:33', '2020-11-15 12:06:33', '

Who we are

Our website address is: http://192.168.99.221:5050.

What personal data we collect and why we collect it

Comments

When visitors leave comments on the site we collect the data shown in the comments form, and also the visitor’s IP address and browser user agent string to help spam detection.

An anonymized string created from your email address (also called a hash) may be provided to the Gravatar service to see if you are using it. The Gravatar service privacy policy is available here: https://automattic.com/privacy/. After approval of your comment, your profile picture is visible to the public in the context of your comment.

Media

If you upload images to the website, you should avoid uploading images with embedded location data (EXIF GPS) included. Visitors to the website can download and extract any location data from images on the website.

Contact forms

Cookies

If you leave a comment on our site you may opt-in to saving your name, email address and website in cookies. These are for your convenience so that you do not have to fill in your details again when you leave another comment. These cookies will last for one year.

If you visit our login page, we will set a temporary cookie to determine if your browser accepts cookies. This cookie contains no personal data and is discarded when you close your browser.

When you log in, we will also set up several cookies to save your login information and your screen display choices. Login cookies last for two days, and screen options cookies last for a year. If you select "Remember Me", your login will persist for two weeks. If you log out of your account, the login cookies will be removed.

If you edit or publish an article, an additional cookie will be saved in your browser. This cookie includes no personal data and simply indicates the post ID of the article you just edited. It expires after 1 day.

Embedded content from other websites

Articles on this site may include embedded content (e.g. videos, images, articles, etc.). Embedded content from other websites behaves in the exact same way as if the visitor has visited the other website.

These websites may collect data about you, use cookies, embed additional third-party tracking, and monitor your interaction with that embedded content, including tracking your interaction with the embedded content if you have an account and are logged in to that website.

Analytics

Who we share your data with

How long we retain your data

If you leave a comment, the comment and its metadata are retained indefinitely. This is so we can recognize and approve any follow-up comments automatically instead of holding them in a moderation queue.

For users that register on our website (if any), we also store the personal information they provide in their user profile. All users can see, edit, or delete their personal information at any time (except they cannot change their username). Website administrators can also see and edit that information.

What rights you have over your data

If you have an account on this site, or have left comments, you can request to receive an exported file of the personal data we hold about you, including any data you have provided to us. You can also request that we erase any personal data we hold about you. This does not include any data we are obliged to keep for administrative, legal, or security purposes.

Where we send your data

Visitor comments may be checked through an automated spam detection service.

Your contact information

Additional information

How we protect your data

What data breach procedures we have in place

What third parties we receive data from

What automated decision making and/or profiling we do with user data

Industry regulatory disclosure requirements

', 'Privacy Policy', '', 'draft', 'closed', 'open', '', 'privacy-policy', '', '', '2020-11-15 12:06:33', '2020-11-15 12:06:33', '', 0, 'http://192.168.99.221:5050/?page_id=3', 0, 'page', '', 0), +(4, 1, '2020-11-15 12:06:55', '0000-00-00 00:00:00', '', 'Auto Draft', '', 'auto-draft', 'open', 'open', '', '', '', '', '2020-11-15 12:06:55', '0000-00-00 00:00:00', '', 0, 'http://192.168.99.221:5050/?p=4', 0, 'post', '', 0); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_termmeta` +-- + +CREATE TABLE `wp_termmeta` ( + `meta_id` bigint(20) UNSIGNED NOT NULL, + `term_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `meta_value` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_terms` +-- + +CREATE TABLE `wp_terms` ( + `term_id` bigint(20) UNSIGNED NOT NULL, + `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `slug` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `term_group` bigint(10) NOT NULL DEFAULT 0 +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_terms` +-- + +INSERT INTO `wp_terms` (`term_id`, `name`, `slug`, `term_group`) VALUES +(1, 'Uncategorized', 'uncategorized', 0); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_term_relationships` +-- + +CREATE TABLE `wp_term_relationships` ( + `object_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `term_taxonomy_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `term_order` int(11) NOT NULL DEFAULT 0 +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_term_relationships` +-- + +INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES +(1, 1, 0); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_term_taxonomy` +-- + +CREATE TABLE `wp_term_taxonomy` ( + `term_taxonomy_id` bigint(20) UNSIGNED NOT NULL, + `term_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `taxonomy` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `description` longtext COLLATE utf8mb4_unicode_ci NOT NULL, + `parent` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `count` bigint(20) NOT NULL DEFAULT 0 +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_term_taxonomy` +-- + +INSERT INTO `wp_term_taxonomy` (`term_taxonomy_id`, `term_id`, `taxonomy`, `description`, `parent`, `count`) VALUES +(1, 1, 'category', '', 0, 1); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_usermeta` +-- + +CREATE TABLE `wp_usermeta` ( + `umeta_id` bigint(20) UNSIGNED NOT NULL, + `user_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0, + `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `meta_value` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_usermeta` +-- + +INSERT INTO `wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES +(1, 1, 'nickname', 'mkristie'), +(2, 1, 'first_name', ''), +(3, 1, 'last_name', ''), +(4, 1, 'description', ''), +(5, 1, 'rich_editing', 'true'), +(6, 1, 'syntax_highlighting', 'true'), +(7, 1, 'comment_shortcuts', 'false'), +(8, 1, 'admin_color', 'fresh'), +(9, 1, 'use_ssl', '0'), +(10, 1, 'show_admin_bar_front', 'true'), +(11, 1, 'locale', ''), +(12, 1, 'wp_capabilities', 'a:1:{s:13:\"administrator\";b:1;}'), +(13, 1, 'wp_user_level', '10'), +(14, 1, 'dismissed_wp_pointers', ''), +(15, 1, 'show_welcome_panel', '1'), +(16, 1, 'session_tokens', 'a:1:{s:64:\"66c48041c5ca1a05e6226734d5d8828cebfce9604a466ad950f25b1c91fde22e\";a:4:{s:10:\"expiration\";i:1605614812;s:2:\"ip\";s:10:\"172.17.0.1\";s:2:\"ua\";s:121:\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36\";s:5:\"login\";i:1605442012;}}'), +(17, 1, 'wp_dashboard_quick_press_last_post_id', '4'), +(18, 1, 'community-events-location', 'a:1:{s:2:\"ip\";s:10:\"172.17.0.0\";}'), +(19, 2, 'nickname', 'user1'), +(20, 2, 'first_name', ''), +(21, 2, 'last_name', ''), +(22, 2, 'description', ''), +(23, 2, 'rich_editing', 'true'), +(24, 2, 'syntax_highlighting', 'true'), +(25, 2, 'comment_shortcuts', 'false'), +(26, 2, 'admin_color', 'fresh'), +(27, 2, 'use_ssl', '0'), +(28, 2, 'show_admin_bar_front', 'true'), +(29, 2, 'locale', ''), +(30, 2, 'wp_capabilities', 'a:1:{s:10:\"subscriber\";b:1;}'), +(31, 2, 'wp_user_level', '0'), +(32, 2, 'dismissed_wp_pointers', ''), +(33, 3, 'nickname', 'user2'), +(34, 3, 'first_name', ''), +(35, 3, 'last_name', ''), +(36, 3, 'description', ''), +(37, 3, 'rich_editing', 'true'), +(38, 3, 'syntax_highlighting', 'true'), +(39, 3, 'comment_shortcuts', 'false'), +(40, 3, 'admin_color', 'fresh'), +(41, 3, 'use_ssl', '0'), +(42, 3, 'show_admin_bar_front', 'true'), +(43, 3, 'locale', ''), +(44, 3, 'wp_capabilities', 'a:1:{s:10:\"subscriber\";b:1;}'), +(45, 3, 'wp_user_level', '0'), +(46, 3, 'dismissed_wp_pointers', ''), +(47, 4, 'nickname', 'user3'), +(48, 4, 'first_name', ''), +(49, 4, 'last_name', ''), +(50, 4, 'description', ''), +(51, 4, 'rich_editing', 'true'), +(52, 4, 'syntax_highlighting', 'true'), +(53, 4, 'comment_shortcuts', 'false'), +(54, 4, 'admin_color', 'fresh'), +(55, 4, 'use_ssl', '0'), +(56, 4, 'show_admin_bar_front', 'true'), +(57, 4, 'locale', ''), +(58, 4, 'wp_capabilities', 'a:1:{s:10:\"subscriber\";b:1;}'), +(59, 4, 'wp_user_level', '0'), +(60, 4, 'dismissed_wp_pointers', ''); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `wp_users` +-- + +CREATE TABLE `wp_users` ( + `ID` bigint(20) UNSIGNED NOT NULL, + `user_login` varchar(60) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `user_pass` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `user_nicename` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `user_email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `user_url` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `user_registered` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', + `user_activation_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `user_status` int(11) NOT NULL DEFAULT 0, + `display_name` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- +-- Dumping data for table `wp_users` +-- + +INSERT INTO `wp_users` (`ID`, `user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`) VALUES +(1, 'mkristie', '$P$BCXEQbzdfhiVcltn5tGEhYSyJmIQd20', 'mkristie', 'mkristie@student.21-school.ru', 'http://192.168.99.221:5050', '2020-11-15 12:06:33', '', 0, 'mkristie'), +(2, 'user1', '$P$BQhf7VLeZ4N7bPw.CLFQemRW56viCz/', 'user1', 'user1@user1.user1', '', '2020-11-15 12:07:56', '', 0, 'user1'), +(3, 'user2', '$P$BxtMNMYRgoavR4TSdtT3IZg7W4PF5j1', 'user2', 'user2@user2.user2', '', '2020-11-15 12:08:27', '', 0, 'user2'), +(4, 'user3', '$P$Bx7PM/YyrBNrNGBXOT7MBZ/RAIyOGb.', 'user3', 'user3@user3.user3', '', '2020-11-15 12:08:50', '', 0, 'user3'); + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `wp_commentmeta` +-- +ALTER TABLE `wp_commentmeta` + ADD PRIMARY KEY (`meta_id`), + ADD KEY `comment_id` (`comment_id`), + ADD KEY `meta_key` (`meta_key`(191)); + +-- +-- Indexes for table `wp_comments` +-- +ALTER TABLE `wp_comments` + ADD PRIMARY KEY (`comment_ID`), + ADD KEY `comment_post_ID` (`comment_post_ID`), + ADD KEY `comment_approved_date_gmt` (`comment_approved`,`comment_date_gmt`), + ADD KEY `comment_date_gmt` (`comment_date_gmt`), + ADD KEY `comment_parent` (`comment_parent`), + ADD KEY `comment_author_email` (`comment_author_email`(10)); + +-- +-- Indexes for table `wp_links` +-- +ALTER TABLE `wp_links` + ADD PRIMARY KEY (`link_id`), + ADD KEY `link_visible` (`link_visible`); + +-- +-- Indexes for table `wp_options` +-- +ALTER TABLE `wp_options` + ADD PRIMARY KEY (`option_id`), + ADD UNIQUE KEY `option_name` (`option_name`), + ADD KEY `autoload` (`autoload`); + +-- +-- Indexes for table `wp_postmeta` +-- +ALTER TABLE `wp_postmeta` + ADD PRIMARY KEY (`meta_id`), + ADD KEY `post_id` (`post_id`), + ADD KEY `meta_key` (`meta_key`(191)); + +-- +-- Indexes for table `wp_posts` +-- +ALTER TABLE `wp_posts` + ADD PRIMARY KEY (`ID`), + ADD KEY `post_name` (`post_name`(191)), + ADD KEY `type_status_date` (`post_type`,`post_status`,`post_date`,`ID`), + ADD KEY `post_parent` (`post_parent`), + ADD KEY `post_author` (`post_author`); + +-- +-- Indexes for table `wp_termmeta` +-- +ALTER TABLE `wp_termmeta` + ADD PRIMARY KEY (`meta_id`), + ADD KEY `term_id` (`term_id`), + ADD KEY `meta_key` (`meta_key`(191)); + +-- +-- Indexes for table `wp_terms` +-- +ALTER TABLE `wp_terms` + ADD PRIMARY KEY (`term_id`), + ADD KEY `slug` (`slug`(191)), + ADD KEY `name` (`name`(191)); + +-- +-- Indexes for table `wp_term_relationships` +-- +ALTER TABLE `wp_term_relationships` + ADD PRIMARY KEY (`object_id`,`term_taxonomy_id`), + ADD KEY `term_taxonomy_id` (`term_taxonomy_id`); + +-- +-- Indexes for table `wp_term_taxonomy` +-- +ALTER TABLE `wp_term_taxonomy` + ADD PRIMARY KEY (`term_taxonomy_id`), + ADD UNIQUE KEY `term_id_taxonomy` (`term_id`,`taxonomy`), + ADD KEY `taxonomy` (`taxonomy`); + +-- +-- Indexes for table `wp_usermeta` +-- +ALTER TABLE `wp_usermeta` + ADD PRIMARY KEY (`umeta_id`), + ADD KEY `user_id` (`user_id`), + ADD KEY `meta_key` (`meta_key`(191)); + +-- +-- Indexes for table `wp_users` +-- +ALTER TABLE `wp_users` + ADD PRIMARY KEY (`ID`), + ADD KEY `user_login_key` (`user_login`), + ADD KEY `user_nicename` (`user_nicename`), + ADD KEY `user_email` (`user_email`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `wp_commentmeta` +-- +ALTER TABLE `wp_commentmeta` + MODIFY `meta_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `wp_comments` +-- +ALTER TABLE `wp_comments` + MODIFY `comment_ID` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `wp_links` +-- +ALTER TABLE `wp_links` + MODIFY `link_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `wp_options` +-- +ALTER TABLE `wp_options` + MODIFY `option_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=130; + +-- +-- AUTO_INCREMENT for table `wp_postmeta` +-- +ALTER TABLE `wp_postmeta` + MODIFY `meta_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; + +-- +-- AUTO_INCREMENT for table `wp_posts` +-- +ALTER TABLE `wp_posts` + MODIFY `ID` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; + +-- +-- AUTO_INCREMENT for table `wp_termmeta` +-- +ALTER TABLE `wp_termmeta` + MODIFY `meta_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT; + +-- +-- AUTO_INCREMENT for table `wp_terms` +-- +ALTER TABLE `wp_terms` + MODIFY `term_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `wp_term_taxonomy` +-- +ALTER TABLE `wp_term_taxonomy` + MODIFY `term_taxonomy_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; + +-- +-- AUTO_INCREMENT for table `wp_usermeta` +-- +ALTER TABLE `wp_usermeta` + MODIFY `umeta_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=61; + +-- +-- AUTO_INCREMENT for table `wp_users` +-- +ALTER TABLE `wp_users` + MODIFY `ID` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/srcs/phpmyadmin/Dockerfile b/srcs/phpmyadmin/Dockerfile index 274ae3d..f34a853 100755 --- a/srcs/phpmyadmin/Dockerfile +++ b/srcs/phpmyadmin/Dockerfile @@ -5,10 +5,11 @@ RUN apk add supervisor nginx php7 php7-fpm php7-opcache php7-gd php7-m RUN mkdir -p /var/www/localhost/htdocs/ RUN mkdir -p /run/php7 RUN mkdir -p /run/nginx -RUN wget http://files.directadmin.com/services/all/phpMyAdmin/phpMyAdmin-5.0.1-all-languages.tar.gz -RUN tar -xvf phpMyAdmin-5.0.1-all-languages.tar.gz --strip-components 1 -C /var/www/localhost/htdocs/ +RUN wget https://files.phpmyadmin.net/phpMyAdmin/5.0.4/phpMyAdmin-5.0.4-english.tar.gz +RUN tar -xvf phpMyAdmin-5.0.4-english.tar.gz --strip-components 1 -C /var/www/localhost/htdocs/ COPY phpmyadmin.inc.php /var/www/localhost/htdocs/config.inc.php RUN mkdir -p /var/www/localhost/htdocs/tmp +RUN chmod 777 /var/www/localhost/htdocs/tmp COPY nginx.conf /etc/nginx/conf.d/default.conf COPY supervisord.conf /etc/supervisord.conf EXPOSE 5000 diff --git a/srcs/phpmyadmin/nginx.conf b/srcs/phpmyadmin/nginx.conf index 5faf3b5..38dfb75 100755 --- a/srcs/phpmyadmin/nginx.conf +++ b/srcs/phpmyadmin/nginx.conf @@ -1,5 +1,6 @@ server { listen 0.0.0.0:5000; + server_name localhost; root /var/www/localhost/htdocs/; autoindex on; index index.php; diff --git a/srcs/phpmyadmin/phpmyadmin.inc.php b/srcs/phpmyadmin/phpmyadmin.inc.php index 488fa7c..bbb3a8f 100755 --- a/srcs/phpmyadmin/phpmyadmin.inc.php +++ b/srcs/phpmyadmin/phpmyadmin.inc.php @@ -3,10 +3,12 @@ $cfg['blowfish_secret'] = 'ZX8lwV2k,PSlDhg40E=38i7Rm1pczKVr'; $i = 0; $i++; $cfg['Servers'][$i]['auth_type'] = 'cookie'; -$cfg['Servers'][$i]['host'] = 'mysql-service'; -$cfg['Servers'][$i]['port'] = 3306; +$cfg['Servers'][$i]['host'] = 'mariadb-service:3306'; +$cfg['Servers'][$i]['user'] = 'mdenys'; +$cfg['Servers'][$i]['password'] = 'mdenys'; $cfg['Servers'][$i]['compress'] = false; -$cfg['Servers'][$i]['AllowNoPassword'] = true; +$cfg['Servers'][$i]['AllowNoPassword'] = false; $cfg['UploadDir'] = ''; $cfg['SaveDir'] = ''; +$cfg['TempDir'] = '/tmp'; ?> \ No newline at end of file diff --git a/srcs/yaml/metallb.yaml b/srcs/yaml/metallb.yaml index d6156e7..c83e8d2 100755 --- a/srcs/yaml/metallb.yaml +++ b/srcs/yaml/metallb.yaml @@ -9,4 +9,4 @@ data: - name: default protocol: layer2 addresses: - - 192.168.99.100-192.168.99.200 \ No newline at end of file + - 192.168.99.165-192.168.99.200 \ No newline at end of file diff --git a/srcs/yaml/mysql.yaml b/srcs/yaml/mysql.yaml index c25e696..4bb3e9a 100755 --- a/srcs/yaml/mysql.yaml +++ b/srcs/yaml/mysql.yaml @@ -6,9 +6,11 @@ metadata: app: mysql spec: type: ClusterIP - clusterIP: None ports: - port: 3306 + targetPort: 3306 + protocol: TCP + name: mysql-port selector: app: mysql ---