소스 검색

Merge pull request #3908 from MrAnno/fix-no-rproxy-network

Fix docker networking when no reverse-proxy is used
pull/3909/head
Slavi Pantaleev 1 년 전
committed by GitHub
부모
커밋
079960cbac
No known key found for this signature in database GPG 키 ID: B5690EEEBB952194
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -1
      group_vars/matrix_servers
  2. +1
    -1
      roles/custom/matrix-base/defaults/main.yml

+ 1
- 1
group_vars/matrix_servers 파일 보기

@@ -32,7 +32,7 @@ matrix_playbook_docker_installation_daemon_options_custom: {}
# yet still use Traefik installed in another way.
matrix_playbook_traefik_labels_enabled: "{{ matrix_playbook_reverse_proxy_type in ['playbook-managed-traefik', 'other-traefik-container'] }}"

matrix_playbook_reverse_proxy_container_network: "{{ traefik_container_network if traefik_enabled else 'traefik' }}"
matrix_playbook_reverse_proxy_container_network: "{{ traefik_container_network if traefik_enabled else 'traefik' if matrix_playbook_reverse_proxy_type in ['playbook-managed-traefik', 'other-traefik-container'] else '' }}"
matrix_playbook_reverse_proxy_hostname: "{{ traefik_identifier if traefik_enabled else 'traefik' }}"

matrix_playbook_reverse_proxy_traefik_middleware_compression_enabled: "{{ traefik_config_http_middlewares_compression_enabled if (traefik_enabled and traefik_config_http_middlewares_compression_enabled) else false }}"


+ 1
- 1
roles/custom/matrix-base/defaults/main.yml 파일 보기

@@ -234,7 +234,7 @@ matrix_metrics_exposure_http_basic_auth_users: ''
matrix_playbook_reverse_proxy_type: ''

# Specifies the network that the reverse-proxy is operating at
matrix_playbook_reverse_proxy_container_network: 'traefik'
matrix_playbook_reverse_proxy_container_network: "{{ 'traefik' if matrix_playbook_reverse_proxy_type in ['playbook-managed-traefik', 'other-traefik-container'] else '' }}"

# Specifies the hostname that the reverse-proxy is available at
matrix_playbook_reverse_proxy_hostname: 'matrix-traefik'


불러오는 중...
취소
저장