mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented helper role docker-central-database and refactored code
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
- name: create docker-compose.yml for bigbluebutton
|
||||
command:
|
||||
cmd: bash ./scripts/generate-compose
|
||||
chdir: "{{docker_compose_instance_directory}}"
|
||||
chdir: "{{docker_compose.directories.instance}}"
|
||||
environment:
|
||||
COMPOSE_HTTP_TIMEOUT: 600
|
||||
DOCKER_CLIENT_TIMEOUT: 600
|
||||
@@ -63,7 +63,7 @@
|
||||
command:
|
||||
cmd: docker-compose -p bigbluebutton up -d --force-recreate
|
||||
# Don't use the --build flag here. This leads to bugs
|
||||
chdir: "{{docker_compose_instance_directory}}"
|
||||
chdir: "{{docker_compose.directories.instance}}"
|
||||
environment:
|
||||
COMPOSE_HTTP_TIMEOUT: 600
|
||||
DOCKER_CLIENT_TIMEOUT: 600
|
||||
|
@@ -27,7 +27,7 @@
|
||||
- name: pull docker repository
|
||||
git:
|
||||
repo: "https://github.com/bigbluebutton/docker.git"
|
||||
dest: "{{docker_compose_instance_directory}}"
|
||||
dest: "{{docker_compose.directories.instance}}"
|
||||
update: yes
|
||||
recursive: yes
|
||||
version: main
|
||||
@@ -35,7 +35,7 @@
|
||||
ignore_errors: true
|
||||
|
||||
- name: deploy .env
|
||||
template: src=env.j2 dest={{docker_compose_instance_directory}}/.env
|
||||
template: src=env.j2 dest={{docker_compose.directories.instance}}/.env
|
||||
notify: setup bigbluebutton
|
||||
|
||||
- name: flush docker service
|
||||
@@ -49,7 +49,7 @@
|
||||
- name: create admin
|
||||
command:
|
||||
cmd: docker compose exec greenlight bundle exec rake admin:create
|
||||
chdir: "{{docker_compose_instance_directory}}"
|
||||
chdir: "{{docker_compose.directories.instance}}"
|
||||
when: mode_setup | bool
|
||||
ignore_errors: true
|
||||
register: admin_creation_result
|
||||
|
@@ -1,5 +1,5 @@
|
||||
application_id: "bigbluebutton"
|
||||
docker_compose_file: "{{docker_compose_instance_directory}}docker-compose.yml"
|
||||
docker_compose_file: "{{docker_compose.directories.instance}}docker-compose.yml"
|
||||
database_instance: "bigbluebutton"
|
||||
database_name: "greenlight-v3"
|
||||
database_username: "postgres"
|
||||
|
Reference in New Issue
Block a user