From a34106b23bfc6f44584b09c4439eb3870ff86ad7 Mon Sep 17 00:00:00 2001 From: Aimable Rwema Date: Sun, 8 Oct 2017 06:50:56 +0200 Subject: [PATCH 1/2] Fixed mariadb ports mapping --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0d9bc07b..a8beba0b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: volumes: - ./conf/mariadb-conf.d:/etc/mysql/conf.d ports: - - "3307:3307" #mariadb-port + - "3307:3306" #mariadb-port container_name: mariadb redis-cache: From 6bf6927deb222f94e06c3b5ddd115c87bf13ffd8 Mon Sep 17 00:00:00 2001 From: vishalseshagiri Date: Mon, 27 Nov 2017 12:44:49 +0530 Subject: [PATCH 2/2] Updated dbench - changed default site on bench init from bench-manager.local to site1.local - dbench init by default installs erpnext now --- dbench | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dbench b/dbench index d51a3e8d..9fd54a74 100755 --- a/dbench +++ b/dbench @@ -21,9 +21,9 @@ then docker exec -it frappe bash -c "mv Procfile_docker Procfile && mv sites/common_site_config_docker.json sites/common_site_config.json" docker exec -it -u root frappe bash -c "apt-get install vim && apt-get install sudo && usermod -aG sudo frappe && printf '# User rules for frappe\nfrappe ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers.d/frappe" docker exec -it frappe bash -c "bench set-mariadb-host mariadb" - docker exec -it frappe bash -c "bench new-site bench-manager.local" - docker exec -it frappe bash -c "bench get-app bench_manager https://github.com/frappe/bench_manager" - docker exec -it frappe bash -c "bench --site bench-manager.local install-app bench_manager" + docker exec -it frappe bash -c "bench new-site site1.local" + docker exec -it frappe bash -c "bench get-app erpnext" + docker exec -it frappe bash -c "bench --site site1.local install-app erpnext" else while getopts ':hsc:' option; do