1
0
Fork 0

traefik example

Dieser Commit ist enthalten in:
Joel Kåberg 2018-09-14 23:22:38 +02:00 committet von GitHub
Ursprung b75ba216d1
Commit ee321be579
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -78,3 +78,18 @@ server {
ProxyRequests Off ProxyRequests Off
</VirtualHost> </VirtualHost>
``` ```
## Traefik (docker-compose example)
```traefik
labels:
- 'traefik.frontend.rule=Host:vault.example.local'
- 'traefik.docker.network=traefik'
- 'traefik.port=80'
- 'traefik.enable=true'
- 'traefik.web.frontend.rule=Host:vault.example.local'
- 'traefik.web.port=80'
- 'traefik.hub.frontend.rule=Path:/notifications/hub'
- 'traefik.hub.port=3012'
- 'traefik.negotiate.frontend.rule=Path:/notifications/hub/negotiate'
- 'traefik.negotiate.port=80'
```