-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relocate Postgres, Traefik and Woodpecker CI roles to the MASH organi…
…zation
- Loading branch information
1 parent
0d28058
commit 3dd4b89
Showing
13 changed files
with
548 additions
and
458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,14 +14,14 @@ To enable this service, add the following configuration to your `vars.yml` file | |
```yaml | ||
######################################################################## | ||
# # | ||
# devture-traefik # | ||
# traefik # | ||
# # | ||
######################################################################## | ||
|
||
mash_playbook_reverse_proxy_type: playbook-managed-traefik | ||
|
||
# The email address that Traefik will pass to Let's Encrypt when obtaining SSL certificates | ||
devture_traefik_config_certificatesResolvers_acme_email: [email protected] | ||
traefik_config_certificatesResolvers_acme_email: [email protected] | ||
|
||
# Or, if you'd like to install Traefik yourself: | ||
# | ||
|
@@ -30,7 +30,7 @@ devture_traefik_config_certificatesResolvers_acme_email: [email protected] | |
|
||
######################################################################## | ||
# # | ||
# /devture-traefik # | ||
# /traefik # | ||
# # | ||
######################################################################## | ||
``` | ||
|
@@ -61,39 +61,39 @@ mash_playbook_reverse_proxyable_services_additional_network: traefik | |
## Increase logging verbosity | ||
```yaml | ||
devture_traefik_config_log_level: DEBUG | ||
traefik_config_log_level: DEBUG | ||
``` | ||
## Disable access logs | ||
This will disable access logging. | ||
```yaml | ||
devture_traefik_config_accessLog_enabled: false | ||
traefik_config_accessLog_enabled: false | ||
``` | ||
## Enable Traefik Dashboard | ||
This will enable a Traefik [Dashboard](https://doc.traefik.io/traefik/operations/dashboard/) UI at `https://traefik.mash.example.com/dashboard/` (note the trailing `/`). | ||
|
||
```yaml | ||
devture_traefik_dashboard_enabled: true | ||
devture_traefik_dashboard_hostname: traefik.mash.example.com | ||
devture_traefik_dashboard_basicauth_enabled: true | ||
devture_traefik_dashboard_basicauth_user: YOUR_USERNAME_HERE | ||
devture_traefik_dashboard_basicauth_password: YOUR_PASSWORD_HERE | ||
traefik_dashboard_enabled: true | ||
traefik_dashboard_hostname: traefik.mash.example.com | ||
traefik_dashboard_basicauth_enabled: true | ||
traefik_dashboard_basicauth_user: YOUR_USERNAME_HERE | ||
traefik_dashboard_basicauth_password: YOUR_PASSWORD_HERE | ||
``` | ||
|
||
**WARNING**: enabling the dashboard on a hostname you use for something else (like `mash.example.com` in the configuration above) may cause conflicts. Enabling the Traefik Dashboard makes Traefik capture all `/dashboard` and `/api` requests and forward them to itself. If any of the services hosted on the same hostname requires any of these 2 URL prefixes, you will experience problems. | ||
|
||
## Additional configuration | ||
|
||
Use the `devture_traefik_configuration_extension_yaml` variable provided by the Traefik Ansible role to override or inject additional settings, even when no dedicated variable exists. | ||
Use the `traefik_configuration_extension_yaml` variable provided by the Traefik Ansible role to override or inject additional settings, even when no dedicated variable exists. | ||
|
||
```yaml | ||
# This is a contrived example. | ||
# You can enable and secure the Dashboard using dedicated variables. See above. | ||
devture_traefik_configuration_extension_yaml: | | ||
traefik_configuration_extension_yaml: | | ||
api: | ||
dashboard: true | ||
``` |
Oops, something went wrong.