Customizable Traefik host port

Allow users to free up port 80 on the host machine, without losing
Traefik's Docker routing super-powers.
This commit is contained in:
Chris Lowder
2023-03-04 21:41:08 +00:00
parent 8c69990dbb
commit 963b96ff62
3 changed files with 19 additions and 1 deletions

View File

@@ -354,6 +354,15 @@ traefik:
This will start the traefik container with `--accesslog=true accesslog.format=json`.
### Traefik's host port binding
By default Traefik binds to port 80 of the host machine, it can be configured to use an alternative port:
```yaml
traefik:
host_port: 8080
```
### Configuring build args for new images
Build arguments that aren't secret can also be configured: