Commit Graph

30 Commits

Author SHA1 Message Date
be5263f397 Move self-building git repository URLs to variables (stop hardcoding) 2020-11-28 21:34:14 +02:00
5eed874199 Improve self-building experience (avoid conflict with pullable images)
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.
2020-11-14 23:00:49 +02:00
19b9a1b16c Expose mautrix-hangouts port if matrix-nginx-proxy is disabled 2020-06-28 09:01:48 +03:00
5da31ba579 Move configuration templates outside of defaults/main.yml files 2020-06-03 09:33:28 +03:00
4d260c0dd5 Add encryption configuration defaults to Mautrix bridges
Related to #451 (Github Issue).
2020-04-17 09:44:48 +03:00
2b85fde103 Rename some variables for consistency 2020-03-15 10:15:27 +02:00
8fe97abe7d Wire matrix_container_images_self_build to self_build variables via group_vars/matrix_servers
This keeps the roles cleaner and more independent of matrix-base,
which may be important for people building their own playbook
out of the individual roles and not using the matrix-base role.
2020-03-15 10:10:41 +02:00
2d537484d5 introduce variable 2020-03-14 19:16:29 +01:00
a5d94eec0b refactor variable names 2020-03-08 00:28:14 +01:00
310aa685f9 refactor based on Slavi's requests 2020-03-08 00:24:00 +01:00
bd38861179 Add support for automatic Double Puppeting for all Mautrix bridges 2020-01-12 20:28:36 +02:00
53186ffa1c Sync configuration with upstream for all Mautrix bridges 2020-01-12 19:10:05 +02:00
7ead77fdb7 Remove spurious 'mxisd' string from mautrix bridge templates comment 2020-01-08 22:39:21 +01:00
2ef8898421 Add comment 2019-08-21 07:14:31 +03:00
97fb71d98c Change privilege level 2019-08-21 07:12:46 +03:00
122c3f1ec0 sync more chats in hangouts, switch to admin mode 2019-08-06 05:27:40 +00:00
1e8d593f7a fix hangout displayname bug 2019-08-06 05:27:40 +00:00
75785a0734 fix login url 2019-08-06 05:27:40 +00:00
74d9eb1ec0 fix incorrect nginx proxy entry for hangouts bridge 2019-08-06 05:27:40 +00:00
754c475338 matrix-hangouts/login instead of just /login 2019-08-06 05:27:40 +00:00
95750c1bc7 attempt to inject nginx config for hangouts bridge 2019-08-06 05:27:40 +00:00
264704a29e absorb Munfred changes 2019-08-06 05:27:40 +00:00
ad682f2180 Update main.yml 2019-08-06 05:27:40 +00:00
ef9f6efd12 Update main.yml 2019-08-06 05:27:40 +00:00
451d84a981 Update main.yml 2019-08-06 05:27:40 +00:00
da6d2e5621 Update main.yml 2019-08-06 05:27:40 +00:00
b0f203b2ec Update main.yml 2019-08-06 05:27:40 +00:00
4528e6402b add Publicly accessible base URL for the login endpoints.
# Auth server config
        auth:
            # Publicly accessible base URL for the login endpoints.
            # The prefix below is not implicitly added. This URL and all subpaths should be proxied
            # or otherwise pointed to the appservice's webserver to the path specified below (prefix).
            # This path should usually include a trailing slash.
            public: http://example.com/login/
            # Internal prefix in the appservice web server for the login endpoints.
            prefix: /login
2019-08-06 05:27:40 +00:00
2d3fc98d18 Update main.yml 2019-08-06 05:27:40 +00:00
0585889d5a add hangouts bridge by copying facebook bridge and find-replacing 2019-08-06 05:27:40 +00:00