5eed874199
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/716 This patch makes us use more fully-qualified container image names (either prefixed with docker.io/ or with localhost/). The latter happens when self-building is enabled. We've recently had issues where if an image was removed manually and the service was restarted (making `docker run` fetch it from Docker Hub, etc.), we'd end up with a pulled image, even though we're aiming for a self-built one. Re-running the playbook would then not do a rebuild, because: - the image with that name already exists (even though it's something else) - we sometimes had conditional logic where we'd build only if the git repo changed By explicitly changing the name of the images (prefixing with localhost/), we avoid such confusion and the possibility that we'd automatically pul something which is not what we expect. Also, I've removed that condition where building would happen on git changes only. We now always build (unless an image with that name already exists). We just force-build when the git repo changes.
31 lines
1.6 KiB
YAML
31 lines
1.6 KiB
YAML
# matrix-synapse-admin is a web UI for mananging the Synapse Matrix server
|
|
# See: https://github.com/Awesome-Technologies/synapse-admin
|
|
|
|
matrix_synapse_admin_enabled: true
|
|
|
|
matrix_synapse_admin_container_self_build: false
|
|
matrix_synapse_admin_docker_repo: "https://github.com/Awesome-Technologies/synapse-admin.git"
|
|
matrix_synapse_admin_docker_src_files_path: "{{ matrix_base_data_path }}/synapse-admin/docker-src"
|
|
|
|
matrix_synapse_admin_docker_image: "{{ matrix_synapse_admin_docker_image_name_prefix }}awesometechnologies/synapse-admin:0.5.0"
|
|
matrix_synapse_admin_docker_image_name_prefix: "{{ 'localhost/' if matrix_synapse_admin_container_self_build else 'docker.io/' }}"
|
|
matrix_synapse_admin_docker_image_force_pull: "{{ matrix_synapse_admin_docker_image.endswith(':latest') }}"
|
|
|
|
# A list of extra arguments to pass to the container
|
|
matrix_synapse_admin_container_extra_arguments: []
|
|
|
|
# List of systemd services that matrix-synapse-admin.service depends on
|
|
matrix_synapse_admin_systemd_required_services_list: ['docker.service']
|
|
|
|
# List of systemd services that matrix-synapse-admin.service wants
|
|
matrix_synapse_admin_systemd_wanted_services_list: []
|
|
|
|
# Controls whether the matrix-synapse-admin container exposes its HTTP port (tcp/80 in the container).
|
|
#
|
|
# Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:8766"), or empty string to not expose.
|
|
matrix_synapse_admin_container_http_host_bind_port: ''
|
|
|
|
# The path at which Synapse Admin will be exposed on `matrix.DOMAIN`
|
|
# (only applies when matrix-nginx-proxy is used).
|
|
matrix_synapse_admin_public_endpoint: /synapse-admin
|