opichon.docker_traefik

Ansible Rola: Zainstaluj proxy traefik jako kontener Docker

Rola Ansible do zainstalowania 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_certificates: []
traefik_docker_domain: 
traefik_group: root
traefik_dir: /etc/traefik
traefik_network: traefik
traefik_user: root
traefik_volumes: []

acme_email: "[email protected]"
acme_domains:
  - domain: mydomain.com
    sans:
      - www.mydomain.com
acme_logging: true
acme_staging: false

Przykładowy playbook

---
- hosts: serwery_www
  roles:
    - dzangolab.docker_traefik
      traefik_certificates:
      -
          {
              CertFile: "/sciezka/do/certyfikatu.crt",
              KeyFile: "/sciezka/do/klucza.key"
          }
      traefik_docker_domain: mydomain.com
      traefik_network: mydomain
      traefik_volumes:
      - /etc/ssl:/etc/ssl

Licencja

MIT

O projekcie

Installs traefik proxy and other useful services as docker containers

Zainstaluj
ansible-galaxy install opichon.docker_traefik
Licencja
mit
Pobrania
371
Właściciel
Entrepreneur & CTO Since 2003, I have helped SMEs and startups in all their IT-related needs.