Finished bbb implementation

This commit is contained in:
2025-07-20 20:07:43 +02:00
parent a580f41edd
commit ed866bf177
7 changed files with 48 additions and 34 deletions

View File

@@ -1,12 +1,4 @@
---
- name: rebuild docker repository
command:
cmd: docker compose build
chdir: "{{docker_repository_path}}"
environment:
COMPOSE_HTTP_TIMEOUT: 600
DOCKER_CLIENT_TIMEOUT: 600
- name: Validate Docker Compose configuration
command:
cmd: docker compose -f {{ docker_compose.files.docker_compose }} config --quiet
@@ -18,8 +10,21 @@
- docker compose up
- docker compose restart
- name: Build docker
command:
cmd: docker compose build
chdir: "{{docker_repository_path}}"
environment:
COMPOSE_HTTP_TIMEOUT: 600
DOCKER_CLIENT_TIMEOUT: 600
listen:
- docker compose build
- docker compose up # This is just here because I didn't took the time to refactor
# @todo go over all docker compose up implementations and check where it makes sense to user docker compose build and where docker compose up
when: application_id != 'web-app-bigbluebutton' # @todo solve this on a different way, just a fast hack
- name: docker compose up
shell: docker-compose -p {{ application_id | get_entity_name }} up -d --force-recreate --remove-orphans --build
shell: docker-compose -p {{ application_id | get_entity_name }} up -d --force-recreate --remove-orphans
args:
chdir: "{{ docker_compose.directories.instance }}"
executable: /bin/bash