Add reload on config change
This commit is contained in:
parent
d05d649be4
commit
2bd4787a45
4 changed files with 14 additions and 4 deletions
11
README.md
11
README.md
|
|
@ -57,8 +57,6 @@ Options are set using the following pattern: `LINKNAME_KEY`
|
|||
|
||||
### Setup port
|
||||
|
||||
__DEPECATED:__
|
||||
By default, ports are the same as linked containers, but a default port can be mapped using `PORT_MAP` environment variable.
|
||||
|
||||
__Caution__: Using `PORT_MAP` with multiple ports on single service will cause `tor` to fail.
|
||||
|
||||
|
|
@ -78,6 +76,9 @@ environment:
|
|||
|
||||
```
|
||||
|
||||
__DEPECATED:__
|
||||
By default, ports are the same as linked containers, but a default port can be mapped using `PORT_MAP` environment variable.
|
||||
|
||||
### Compose v2 support
|
||||
|
||||
Links setting are required when using docker-compose v2. See `docker-compose.v2.yml` for example.
|
||||
|
|
@ -97,6 +98,12 @@ $ docker exec -ti torhiddenproxy_tor_1 onions --json
|
|||
{"hello": ["b2sflntvdne63amj.onion:80"], "world": ["vegm3d7q64gutl75.onion:80"]}
|
||||
```
|
||||
|
||||
### Auto reload
|
||||
|
||||
Changing `/etc/torrc` file trigger a `SIGHUP` signal to `tor` to reload configuration.
|
||||
|
||||
To disable this behavior, add `ENTRYPOINT_DISABLE_RELOAD` in environment.
|
||||
|
||||
|
||||
### pyentrypoint
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue