1
0
Fork 0

Changes in the Static object

This commit is contained in:
Joao M 2022-09-02 23:00:16 +00:00
parent 3a3d5204a3
commit 85922425d4
6 changed files with 9 additions and 7 deletions

View file

@ -53,19 +53,19 @@ easymapping:
- domain:8181
```
Then map this file to `/etc/haproxy/easyconfig.yml` in your EasyHAProxy container as:
Then map this file to `/etc/haproxy/static/config.yml` in your EasyHAProxy container as:
```bash
docker run -d \
--name easy-haproxy-container \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /my/config.yml:/etc/haproxy/easyconfig.yml
-v /my/static/:/etc/haproxy/static/ \
-e EASYHAPROXY_DISCOVER="static" \
# + Environment Variables \
-p 80:80 \
-p 443:443 \
-p 1936:1936 \
--network easyhaproxy
--network easyhaproxy \
byjg/easy-haproxy
```