diff --git a/README.md b/README.md index 1e8381bf..68b4a9f6 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,11 @@ For Apache do virtualhost with cgi-bin. Like this: ``` +# Doker +``` +docker service create --detach=false --name haproxy-wi --mount type=volume,src=haproxy-wi,dst=/var/www/haproxy-wi/app -p 8080:80 aidaho/haproxy-wi +``` + # Database support Default Haproxy-WI use Sqlite, if you want use MySQL enable in config, and create database: diff --git a/install.sh b/install.sh index 35ea1d29..79a0cd32 100644 --- a/install.sh +++ b/install.sh @@ -57,7 +57,7 @@ else yum -y install epel-release fi - yum -y install git ncat net-tools lshw python34 dos2unix python34-pip httpd mod_ssl gcc python34-devel + yum -y install git nmap-ncat net-tools lshw python34 dos2unix python34-pip httpd mod_ssl gcc python34-devel HTTPD_CONFIG="/etc/httpd/conf/httpd.conf" HAPROXY_WI_VHOST_CONF="/etc/httpd/conf.d/haproxy-wi.conf" HTTPD_NAME="httpd"