We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 405503d commit c1eb978Copy full SHA for c1eb978
README.md
@@ -19,6 +19,8 @@ php bin/docker-api synchronize-hosts -v --reverse-proxy-host-ip=172.16.238.100
19
## hosts file (/etc/hosts) sync
20
```shell
21
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
24
```
25
26
## Example of hosts file
0 commit comments