Update 'README.md'

Added Windows install to Readme
This commit is contained in:
Gyorgy Berenyi
2023-06-14 10:33:03 +00:00
parent fb30cb50b0
commit beda8f0408

View File

@@ -1,27 +1,41 @@
# About the proxy deployment project # About the Windows version
It is a pilot project idea running deployment in a microservice platform. You can execute the install.sh script under Windows 10 or 11 also, but need to prepare the WSL service before.
The metadata frontend proxy is a web related gateway to reach backend services from the public internet via http/https.
The proxy service is complex and has many parameters to configure by users. It is executable via command line for example Powershell or Terminal also.
There is three important parts You need to start the wsl service at first:
'# wsl.exe --install Debian'
- core-dns service which is needed for stable proxy availability Then enter it by user root at first.
- public proxy service (1 haproxy loadbalancer and 2 haproxy backend proxies) '# wsl -u root -d Debian'
- smarthost proxy service (1 haproxy loadbalancer and 2 nginx backend proxies with builtin SSL certificates termination processes)
After successfuly entered, prepare the linux system, add a new user via usermod command:
'# usermod -aG sudo <user>'
Not important, but it is needed any command line editor for example vim.
'# apt-get install vim'
Then edit the wsl.conf file:
'# vim /etc/wsl.conf'
Please add this lines:
"[boot]"
"systemd=true"
Then type logout and restart the wsl system by command:
'# wsl --shutdown Debian'
Once you created the new linux user, it is seems under Windows Explorer via folder. You need to download the install.sh and the installer.pub key file and place it to the user's folder.
When it was successfuly you can restart it with a new user you added before.
'# wsl -u <user> -d Debian'
And change the install scrip attribute for executable:
'# chmod a+x install.sh'
And execute it:
'# ./install.sh'
All the proxies support the proxy protocol which is mandatory but not needed any configuration settings from the backend www services or another services also.
docker run \
--volume /root/.ssh/installer:/root/.ssh/id_rsa \
--env PUBLIC_PROXY=yes \
--env SMARTHOST_PROXY=yes \
--env LOCAL_PROXY=yes \
--env VPN_PROXY=yes \
--env CRON=yes \
--volume /etc/user/:/etc/user/ \
--volume /etc/system/:/etc/system/ \
--env LETSENCRYPT_MAIL=noreply@galaxis.xyz
registry.format.hu/proxy-deployment-tool