Refactored ws implementation to use it in mastodon and in new espocrm role

This commit is contained in:
2025-04-25 14:44:33 +02:00
parent 4e04f882e5
commit 87262f7373
26 changed files with 173 additions and 91 deletions

View File

@@ -3,13 +3,18 @@
include_role:
name: docker-central-database
- name: "include create-domains.yml for mastodon"
include_tasks: create-domains.yml
- name: "Include setup for domain '{{ domain }}'"
include_role:
name: nginx-domain-setup
loop: "{{ [domains.mastodon] + domains.mastodon_alternates }}"
loop_control:
loop_var: domain
vars:
http_port: "{{ ports.localhost.http[application_id] }}"
http_port: "{{ ports.localhost.http[application_id] }}"
ws_path: "/api/v1/streaming"
ws_port: "{{ ports.localhost.websocket[application_id] }}"
client_max_body_size: "80m"
vhost_flavour: "ws_generic"
- name: "copy docker-compose.yml and env file"
include_tasks: copy-docker-compose-and-env.yml