Skip to content

Commit

Permalink
Fix testnet domain
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
ulope committed Sep 7, 2017
1 parent 4204b54 commit 73a92cb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tools/testnet/roles/logstash/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@
- 5601:5601
labels:
traefik.enable: "true"
traefik.frontend.rule: "Host:logs.raidentestnet.ulo.pe"
traefik.frontend.rule: "Host:logs.{{ testnet_domain }}"
traefik.frontend.entryPoints: "https"
4 changes: 2 additions & 2 deletions tools/testnet/roles/traefik/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

- name: Traefik config file
become: yes
copy:
src: files/traefik.toml
template:
src: templates/traefik.toml.j2
dest: /etc/traefik/traefik.toml

- name: Traefik raiden proxy config
Expand Down
2 changes: 1 addition & 1 deletion tools/testnet/roles/traefik/templates/rules.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
backend = "be_{{ hostvars[node]['hostname'] }}"
passHostHeader = true
[frontends.fe_{{ hostvars[node]['hostname'] }}.routes.route1]
rule = "Host:{{ hostvars[node]['hostname'].replace("_", "-") }}.raidentestnet.ulo.pe"
rule = "Host:{{ hostvars[node]['hostname'].replace("_", "-") }}.{{ testnet_domain }}"
entryPoints = "http"
{% endfor %}
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ logLevel = "INFO"
email = "ulrich@brainbot.com"
storage = "/etc/traefik/acme.json"
entrypoint = "https"
OnHostRule = true
OnDemand = true

[docker]
domain = "raidentestnet.ulo.pe"
domain = "{{ testnet_domain }}"
endpoint = "unix:///var/run/docker.sock"
exposedbydefault = false
watch = true
Expand Down
1 change: 1 addition & 0 deletions tools/testnet/roles/traefik/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
docker_repo_traefik: "traefik:1.3.5"
testnet_domain: "testnet.raiden.network"

0 comments on commit 73a92cb

Please sign in to comment.