forked from Ivasoft/traefik
Documentation corrections
This commit is contained in:
@@ -103,6 +103,8 @@ The idea behind `godep` is the following :
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ godep restore
|
$ godep restore
|
||||||
|
# Generate
|
||||||
|
$ godep go generate
|
||||||
# Simple go build
|
# Simple go build
|
||||||
$ godep go build
|
$ godep go build
|
||||||
# Using gox to build multiple platform
|
# Using gox to build multiple platform
|
||||||
@@ -132,5 +134,3 @@ ok github.com/emilevauge/traefik 0.005s coverage: 4.1% of statements
|
|||||||
|
|
||||||
Test success
|
Test success
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -362,6 +362,7 @@ Labels can be used on containers to override default behaviour:
|
|||||||
* ```traefik.port=80```: register this port. Useful when the container exposes multiples ports.
|
* ```traefik.port=80```: register this port. Useful when the container exposes multiples ports.
|
||||||
* ```traefik.weight=10```: assign this weight to the container
|
* ```traefik.weight=10```: assign this weight to the container
|
||||||
* ```traefik.enable=false```: disable this container in Træfɪk
|
* ```traefik.enable=false```: disable this container in Træfɪk
|
||||||
|
* ```traefik.host=bar```: override the default routing from {containerName}.{domain} to bar.{domain}
|
||||||
|
|
||||||
## <a id="marathon"></a> Marathon backend
|
## <a id="marathon"></a> Marathon backend
|
||||||
|
|
||||||
@@ -419,6 +420,7 @@ Labels can be used on containers to override default behaviour:
|
|||||||
* ```traefik.port=80```: register this port. Useful when the application exposes multiples ports.
|
* ```traefik.port=80```: register this port. Useful when the application exposes multiples ports.
|
||||||
* ```traefik.weight=10```: assign this weight to the application
|
* ```traefik.weight=10```: assign this weight to the application
|
||||||
* ```traefik.enable=false```: disable this application in Træfɪk
|
* ```traefik.enable=false```: disable this application in Træfɪk
|
||||||
|
* ```traefik.host=bar```: override the default routing from {appName}.{domain} to bar.{domain}
|
||||||
|
|
||||||
## <a id="consul"></a> Consul backend
|
## <a id="consul"></a> Consul backend
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user