mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
HUGE REFACTORING; Implementing ldap networks, new port mappings, heal script optimizing etc.
This commit is contained in:
@@ -3,14 +3,20 @@
|
||||
include_role:
|
||||
name: docker-compose
|
||||
|
||||
- name: "include task certbot-matomo.yml"
|
||||
include_tasks: certbot-matomo.yml
|
||||
# Leave this in the code until big blue button was working for a while.
|
||||
# This is necessary due to the reason that big blue button wasn't fully tested after refactoring
|
||||
#
|
||||
#- name: "include task certbot-matomo.yml"
|
||||
# include_tasks: certbot-matomo.yml
|
||||
#
|
||||
#- name: configure {{domain}}.conf
|
||||
# template:
|
||||
# src: "nginx-proxy.conf.j2"
|
||||
# dest: "{{nginx_servers_directory}}{{domain}}.conf"
|
||||
# notify: restart nginx
|
||||
|
||||
- name: configure {{domain}}.conf
|
||||
template:
|
||||
src: "nginx-proxy.conf.j2"
|
||||
dest: "{{nginx_servers_directory}}{{domain}}.conf"
|
||||
notify: restart nginx
|
||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||
include_tasks: nginx-docker-proxy-domain.yml
|
||||
|
||||
- name: configure websocket_upgrade.conf
|
||||
copy:
|
||||
|
@@ -1,10 +1,11 @@
|
||||
# Remove this template when BBB is running successfully
|
||||
server {
|
||||
|
||||
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
|
||||
|
||||
location / {
|
||||
proxy_http_version 1.1;
|
||||
proxy_pass http://$endpoint_addr:48087;
|
||||
proxy_pass http://$endpoint_addr:{{ports.localhost.oauth2_proxy_ports[application_id]}};
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
@@ -1,6 +1,6 @@
|
||||
docker_compose_project_name: "bigbluebutton"
|
||||
docker_compose_file: "{{docker_compose_instance_directory}}docker-compose.yml"
|
||||
database_instance: "bigbluebutton"
|
||||
database_name: "greenlight-v3"
|
||||
database_username: "postgres"
|
||||
database_password: "{{bigbluebutton_postgresql_secret}}"
|
||||
application_id: "bigbluebutton"
|
||||
docker_compose_file: "{{docker_compose_instance_directory}}docker-compose.yml"
|
||||
database_instance: "bigbluebutton"
|
||||
database_name: "greenlight-v3"
|
||||
database_username: "postgres"
|
||||
database_password: "{{bigbluebutton_postgresql_secret}}"
|
Reference in New Issue
Block a user