Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support customizing the primary_web_role #577

Merged
merged 6 commits into from
Nov 13, 2023
Merged

Support customizing the primary_web_role #577

merged 6 commits into from
Nov 13, 2023

Conversation

mdkent
Copy link
Member

@mdkent mdkent commented Nov 11, 2023

This adds support for controlling the primary_web_role instead of always defaulting to web.

This allow for more flexible role naming in configs, eg: web_chicago.

Example config:

servers:
  web_chicago:
    traefik: true
    hosts:
      - 192.168.0.1
      - 192.168.0.2
  web_tokyo:
    traefik: true
    hosts:
      - 192.168.0.3
      - 192.168.0.4

@mdkent mdkent requested a review from djmb November 12, 2023 17:07
@mdkent
Copy link
Member Author

mdkent commented Nov 12, 2023

Could rework #580 after merging this.

@djmb djmb merged commit 14a9129 into main Nov 13, 2023
6 checks passed
@djmb djmb deleted the set-primary-web-role branch November 13, 2023 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants