implemented compose by url, parse, local yaml.
This commit is contained in:
1 parent
53695f4fff
commit
784fff8faf
218 files changed
+2271
-640
No files matched your search
+19
-1
@@ -3,5 +3,23 @@
|
||||
Deploys Traefik with Docker Compose, a shared proxy network, static config, and
|
||||
UFW rules for HTTP and HTTPS.
|
||||
|
||||
Tags: `traefik`, `docker`, `config`, `compose`, `firewall`.
|
||||
Traefik can use the Docker provider for local label-based routing, the file
|
||||
provider for central edge-to-internal-Traefik routing, or both:
|
||||
|
||||
```yaml
|
||||
traefik_docker_provider_enabled: false
|
||||
traefik_file_provider_enabled: true
|
||||
traefik_dynamic_inventory_group: nbops
|
||||
```
|
||||
|
||||
When the file provider is enabled, the role renders
|
||||
`{{ traefik_dir }}/dynamic/http-services.yml` from `nbops_traefik_file_routes`
|
||||
declared in host variables across the inventory group. In the normal multi-VM
|
||||
topology those routes point at each downstream VM's internal Traefik entrypoint,
|
||||
not directly at application containers.
|
||||
|
||||
Routes can set `servers_transport` to reference entries in
|
||||
`traefik_dynamic_servers_transports`, which is intended for the future
|
||||
edge-to-internal mTLS path.
|
||||
|
||||
Tags: `traefik`, `docker`, `config`, `compose`, `firewall`.
|
||||
Reference in new issue
Block a user