opichon.docker_traefik

Ansibleロール: traefik プロキシをDockerコンテナとしてインストール

DockerコンテナとしてtraefikプロキシをインストールするためのAnsibleロールです。

要件

このロールはAnsible 1.2以上が必要です。

ロール変数

Ansibleの変数は以下にデフォルト値と共に示されています。

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

例プレイブック

---
- hosts: webservers
  roles:
    - dzangolab.docker_traefik
      traefik_certificates:
      -
          {
              CertFile: "/path/to/certificate.crt",
              KeyFile: "/path/to/keyfile.key"
          }
      traefik_docker_domain: mydomain.com
      traefik_network: mydomain
      traefik_volumes:
      - /etc/ssl:/etc/ssl

ライセンス

MIT

プロジェクトについて

Installs traefik proxy and other useful services as docker containers

インストール
ansible-galaxy install opichon.docker_traefik
ライセンス
mit
ダウンロード
371
所有者
Entrepreneur & CTO Since 2003, I have helped SMEs and startups in all their IT-related needs.