Skip to content

Commit c1eb978

Browse files
committed
chore(readme): add reverse proxy docker run example
1 parent 405503d commit c1eb978

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ php bin/docker-api synchronize-hosts -v --reverse-proxy-host-ip=172.16.238.100
1919
## hosts file (/etc/hosts) sync
2020
```shell
2121
docker run -d --name docker-hostfile-sync --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /etc/hosts:/app/hosts ghcr.io/webproject-xyz/php-docker-api-client:latest
22+
# or with reverse-proxy-ip e.g. "172.16.238.100"
23+
docker run -d --name docker-hostfile-sync --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /etc/hosts:/app/hosts ghcr.io/webproject-xyz/php-docker-api-client:latest --reverse-proxy-host-ip=172.16.238.100
2224
```
2325

2426
## Example of hosts file

0 commit comments

Comments
 (0)