dzangolab.docker_traefik

Rola Ansible: Instalacja proxy traefik jako kontenera Docker

Rola Ansible do instalacji proxy traefik jako kontenera Docker.

Wymagania

Ta rola wymaga Ansible w wersji 1.2 lub wyższej.

Zmienne roli

Zmienne Ansible są wymienione poniżej z ich domyślnymi wartościami.

traefik__access_log_format: common
traefik__acme_caserver: https://acme-v02.api.letsencrypt.org/directory
traefik__acme_email: 

traefik__dashboard: true
traefik__dashboard_basicauth_passwords: []

traefik__deploy_dir:
traefik__deploy_group: 
traefik__deploy_user:

traefik__expose_by_default: false

traefik__image: traefik:v2.5.3

traefik__label: traefik
traefik__log_dir: /var/log/traefik
traefik__log_format: common
traefik__log_level: ERROR

traefik__network: traefik

traefik__refresh: 15

traefik__state: started | stopped

Przykładowy playbook

---
- hosts: serwery_webowe
  roles:
    - dzangolab.docker_traefik
      traefik_certificates:
      -
          {
              CertFile: "/ścieżka/do/certyfikatu.crt",
              KeyFile: "/ścieżka/do/klucza.key"
          }
      traefik__domain: mydomain.com
      traefik__network: mydomain

Licencja

MIT

O projekcie

Installs traefik proxy and other useful services as docker containers

Zainstaluj
ansible-galaxy install dzangolab.docker_traefik
Licencja
mit
Pobrania
110
Właściciel