Ensure each container labels file defines at least one service
Most of these files were defining a service, usually toward the end. These lines have been moved upward. Some components (mautrix-signal, mautrix-gmessages, etc.) were defining a service conditionally (only if metrics are exposed, etc). This was causing issues like these in the Traefik logs: > level=error msg="service \"matrix-mautrix-twitter\" error: port is missing" providerName=docker container=matrix-mautrix-twitter-..
This commit is contained in:
@ -5,6 +5,8 @@ traefik.enable=true
|
||||
traefik.docker.network={{ matrix_synapse_admin_container_labels_traefik_docker_network }}
|
||||
{% endif %}
|
||||
|
||||
traefik.http.services.matrix-synapse-admin.loadbalancer.server.port=80
|
||||
|
||||
{% set middlewares = [] %}
|
||||
|
||||
{% if matrix_synapse_admin_container_labels_traefik_path_prefix != '/' %}
|
||||
@ -39,7 +41,6 @@ traefik.http.routers.matrix-synapse-admin.tls={{ matrix_synapse_admin_container_
|
||||
traefik.http.routers.matrix-synapse-admin.tls.certResolver={{ matrix_synapse_admin_container_labels_traefik_tls_certResolver }}
|
||||
{% endif %}
|
||||
|
||||
traefik.http.services.matrix-synapse-admin.loadbalancer.server.port=80
|
||||
{% endif %}
|
||||
|
||||
{{ matrix_synapse_admin_container_labels_additional_labels }}
|
||||
|
Reference in New Issue
Block a user