From 6eb0abbb3074f8559ef17a88a414833f34c21113 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 22 Jan 2023 11:00:24 +0100 Subject: [PATCH] Explain traefik: true --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ee78ae0..a43602ab 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,19 @@ servers: cmd: bin/jobs ``` -Traefik will only be installed and run on the servers in the `web` role (and on all servers if no roles are defined). +Traefik will only be installed default and run on the servers in the `web` role (and on all servers if no roles are defined). If you need Traefik on hosts in other roles than `web`, add `traefik: true`, like: + +```yaml +servers: + web: + - 192.168.0.1 + - 192.168.0.2 + web2: + traefik: true + hosts: + - 192.168.0.3 + - 192.168.0.4 +``` ### Adding custom container labels