-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
79 lines (75 loc) · 2 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
# defaults file for ansible-traefik
depl_user: hoauser
depl_group: docker
traefik_docker_image: "traefik"
traefik_image_version: "2.9.4"
traefik_container_name: "traefik_proxy"
traefik_docker_network: "hoa_network"
traefik_install_dir: "/opt/{{ inventory_hostname }}/traefik"
traefik_config:
install_directory:
config_filename: "traefik.yml"
docker_domain: "example.com"
service_directory: "hoa-services"
debug_mode: "false"
log_level: "ERROR"
http_port: "18080"
web_user: "admin"
web_pass: "$mar1$ohsuXhSP$QSNm2Xk9o3WN1d7v8oUOH1"
logs:
root: "/var/log/"
app: "traefik_app.log"
access: "traefik_access.log"
idle_timeout: "45s"
max_idle_conns_per_host: 200
certificates:
email: "jc+{{ inventory_hostname }}@example.com"
storage: "certs_{{ inventory_hostname }}.json"
# enable the dashboard, might be a bit insecure
api_enabled: false
traefik_services: []
# - name: example
# backends:
# servers:
# gloubi:
# url: http://172.17.0.2:80
# boulga:
# url: http://172.17.0.3:80
# frontends:
# servers:
# frontgloubi:
# backend: gloubi
# pass_host_header: no
# routes:
# test0:
# rule: "Host:gloubi.localhost"
# frontboulga:
# backend: boulga
# pass_host_header: yes
# routes:
# test1:
# rule: "Host:boulga.localhost"
# test2:
# rule: "Path:/test"
# - name: example2
# backends:
# servers:
# gloubi:
# url: http://172.17.0.6:80
# boulga:
# url: http://172.17.0.7:8800
# frontends:
# servers:
# frontgloubi:
# backend: blabla
# pass_host_header: yes
# routes:
# test1:
# rule: "Host: blabla.localhost"
# test2:
# rule: "Path:/test"
dev_traefik_services: []
# - name: example
# route: someurl.example.com
# url: http://172.17.0.2:80