fixed formatting
This commit is contained in:
parent
9bd00cca0c
commit
18d6645efd
|
@ -3,12 +3,15 @@ This image attaches to the docker event queue and creates/removes proxy settings
|
||||||
|
|
||||||
## Starting the container
|
## Starting the container
|
||||||
The container is started as:
|
The container is started as:
|
||||||
|
|
||||||
`docker run --name auto_proxy -d -v /var/run/docker.sock:/var/run/docker.sock -p 80:80 docker_nginx_auto_proxy`
|
`docker run --name auto_proxy -d -v /var/run/docker.sock:/var/run/docker.sock -p 80:80 docker_nginx_auto_proxy`
|
||||||
|
|
||||||
The socket must be handed in so the container can get the events.
|
The socket must be handed in so the container can get the events.
|
||||||
|
|
||||||
## How it works
|
## How it works
|
||||||
Containers that should be proxied neet meta information in the environment variable *PROXY_DATA* available.
|
Containers that should be proxied neet meta information in the environment variable *PROXY_DATA* available.
|
||||||
This variable must be of the following format:
|
This variable must be of the following format:
|
||||||
|
|
||||||
`PROXY_DATA=server_name:test.com,port:80`
|
`PROXY_DATA=server_name:test.com,port:80`
|
||||||
|
|
||||||
The following options are possible:
|
The following options are possible:
|
||||||
|
|
Loading…
Reference in New Issue