Documentation Updates: docker-compose examples
This commit is contained in:
parent
2e085fa253
commit
119d0134e0
5 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Configuration Overview
|
# Configuration Introduction
|
||||||
|
|
||||||
How the Magic Happens
|
How the Magic Happens
|
||||||
{: .subtitle }
|
{: .subtitle }
|
||||||
|
|
|
@ -14,7 +14,7 @@ version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
reverse-proxy:
|
reverse-proxy:
|
||||||
image: traefik # The official Traefik docker image
|
image: traefik:v2.0 # The official v2.0 Traefik docker image
|
||||||
command: --api --providers.docker # Enables the web UI and tells Traefik to listen to docker
|
command: --api --providers.docker # Enables the web UI and tells Traefik to listen to docker
|
||||||
ports:
|
ports:
|
||||||
- "80:80" # The HTTP port
|
- "80:80" # The HTTP port
|
||||||
|
|
|
@ -124,7 +124,7 @@ Traefik requires access to the docker socket to get its dynamic configuration.
|
||||||
services:
|
services:
|
||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik
|
image: traefik:v2.0 # The official v2.0 Traefik docker image
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -64,7 +64,7 @@ Entrypoints are part of the [static configuration](../getting-started/configurat
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik
|
image: traefik:v2.0 # The official v2.0 Traefik docker image
|
||||||
command:
|
command:
|
||||||
- --defaultentrypoints=powpow
|
- --defaultentrypoints=powpow
|
||||||
- "--entryPoints=Name:powpow Address::42 Compress:true"
|
- "--entryPoints=Name:powpow Address::42 Compress:true"
|
||||||
|
@ -74,7 +74,7 @@ Entrypoints are part of the [static configuration](../getting-started/configurat
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik
|
image: traefik:v2.0 # The official v2.0 Traefik docker image
|
||||||
command: --defaultentrypoints=powpow --entryPoints='Name:powpow Address::42 Compress:true'
|
command: --defaultentrypoints=powpow --entryPoints='Name:powpow Address::42 Compress:true'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ nav:
|
||||||
- 'Getting Started':
|
- 'Getting Started':
|
||||||
- 'Concepts' : 'getting-started/concepts.md'
|
- 'Concepts' : 'getting-started/concepts.md'
|
||||||
- 'Quick Start': 'getting-started/quick-start.md'
|
- 'Quick Start': 'getting-started/quick-start.md'
|
||||||
- 'Configuration Overview': 'getting-started/configuration-overview.md'
|
- 'Configuration Introduction': 'getting-started/configuration-overview.md'
|
||||||
- 'Configuration Discovery':
|
- 'Configuration Discovery':
|
||||||
- 'Overview': 'providers/overview.md'
|
- 'Overview': 'providers/overview.md'
|
||||||
- 'Docker': 'providers/docker.md'
|
- 'Docker': 'providers/docker.md'
|
||||||
|
|
Loading…
Reference in a new issue