Files
smarthost-proxy/README.md
gyurix 55dade2f34
All checks were successful
continuous-integration/drone/push Build is passing
replaced safebox
2025-03-05 17:25:36 +01:00

29 lines
1.0 KiB
Markdown

The smarthost-proxy json files contain teh required information to deploy one loadbalancer (from haproxy) and minimum two backend proxies (from nginx) with terminating HTTPS process and translate it to HTTP to backend www and other services.
The loadbalancer process depend on dns service which is defined is json.
There are some firewall json defined.
The firewal_dns json contains the DOCKER-USER table rules for communication between loadbalancer and dns.
The firewall_backend* json files are the DOCKER-USER table rules for communication between loadbalancer and backend proxies.
The other firewall json files needed for various vpn connection between loadbalancer proxy.
## How to run
```sh
# docker run \
--detach \
--rm \
--volume /etc/user/config/services/:/services/:ro \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume /usr/bin/docker:/usr/bin/docker:ro \
--volume /etc/user/config/services/tmp:/services/tmp:rw \
safebox/setup:latest public-proxy.json start
```
## Templates in JSON format