1
0
mirror of https://github.com/umputun/reproxy.git synced 2024-11-24 08:12:31 +02:00

add details about container's exclusions

This commit is contained in:
Umputun 2021-04-10 02:23:37 -05:00
parent 23681a9c0e
commit 5f3647b066

View File

@ -62,10 +62,15 @@ Docker provider works with no extra configuration and by default redirects all r
This default can be changed with labels:
- reproxy.server - server (hostname) to match
- reproxy.route - source route (location)
- reproxy.dest - destination URL
- reproxy.ping - ping url for the destination container
- `reproxy.server` - server (hostname) to match
- `reproxy.route` - source route (location)
- `reproxy.dest` - destination URL
- `reproxy.ping` - ping url for the destination container
By default all containers with exposed port will be considered as routing destinations. There are 2 ways to restrict it:
- Exclude some containers explicitly with `--docker.exclude`, i.e. `--docker.exclude=c1 --docker.exclude=c2 ...`
- Allow only a particular docker network with `--docker.network`
This is a dynamic provider and any change in container's status will be applied automatically.