mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-18 22:29:21 +02:00
Solved bbb bugs
This commit is contained in:
parent
949feb912a
commit
4461f73c86
@ -707,12 +707,14 @@ defaults_applications:
|
||||
|
||||
## Taiga
|
||||
taiga:
|
||||
version: "latest"
|
||||
version: "latest"
|
||||
database:
|
||||
central_storage: True # Activate Central Database Storage
|
||||
central_storage: True # Activate Central Database Storage
|
||||
matomo_tracking_enabled: "{{matomo_tracking_enabled_default}}" # Enables\Disables Matomo Tracking
|
||||
css_enabled: "{{css_enabled_default}}" # Enables\Disables Global CSS Style
|
||||
landingpage_iframe_enabled: "{{landingpage_iframe_enabled_default}}" # Enables\Disables the possibility to embed this on landing page via iframe
|
||||
oidc:
|
||||
enabled: True # Activate OIDC for Mastodon
|
||||
|
||||
## YOURLS
|
||||
yourls:
|
||||
@ -724,10 +726,10 @@ defaults_applications:
|
||||
enabled: true
|
||||
application: "application"
|
||||
port: "80"
|
||||
location: "/admin/" # Protects the admin area
|
||||
# cookie_secret: None # Set via openssl rand -hex 16
|
||||
location: "/admin/" # Protects the admin area
|
||||
# cookie_secret: None # Set via openssl rand -hex 16
|
||||
database:
|
||||
central_storage: True # Activate Central Database Storage
|
||||
central_storage: True # Activate Central Database Storage
|
||||
matomo_tracking_enabled: "{{matomo_tracking_enabled_default}}" # Enables\Disables Matomo Tracking
|
||||
css_enabled: "{{css_enabled_default}}" # Enables\Disables Global CSS Style
|
||||
landingpage_iframe_enabled: "{{landingpage_iframe_enabled_default}}" # Enables\Disables the possibility to embed this on landing page via iframe
|
||||
|
@ -75,6 +75,14 @@
|
||||
replace: './services/'
|
||||
listen: setup bigbluebutton
|
||||
|
||||
- name: "Update healthcheck for bbb-graphql-server"
|
||||
# This is neccessary because the healthcheck doesn't listen to the correct port
|
||||
lineinfile:
|
||||
line: " healthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:8085/healthz\"]\n interval: 30s\n timeout: 10s\n retries: 5\n start_period: 10s"
|
||||
path: "{{docker_compose_file_final}}"
|
||||
insertafter: "bbb-graphql-server:"
|
||||
listen: setup bigbluebutton
|
||||
|
||||
- name: docker compose pull bigbluebutton
|
||||
command:
|
||||
cmd: "docker-compose pull"
|
||||
|
@ -33,14 +33,6 @@
|
||||
dest: "{{ bbb_env_file_origine }}"
|
||||
notify: setup bigbluebutton
|
||||
|
||||
- name: "Update healthcheck for bbb-graphql-server"
|
||||
# This is neccessary because the healthcheck doesn't listen to the correct port
|
||||
lineinfile:
|
||||
line: " healthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:8085/healthz\"]\n interval: 30s\n timeout: 10s\n retries: 5\n start_period: 10s"
|
||||
path: "{{docker_compose_file_final}}"
|
||||
insertafter: "bbb-graphql-server:"
|
||||
listen: setup bigbluebutton
|
||||
|
||||
- name: Create symbolic link from .env file to target location
|
||||
ansible.builtin.file:
|
||||
src: "{{ bbb_env_file_origine }}"
|
||||
|
@ -1,11 +1,13 @@
|
||||
# Docker Compose
|
||||
|
||||
## Delete all containers, networks and volumes
|
||||
|
||||
```bash
|
||||
docker compose down -v
|
||||
docker compose down -v
|
||||
```
|
||||
|
||||
## Show the state of all containers
|
||||
|
||||
```bash
|
||||
watch -n 2 "docker compose ps -a"
|
||||
```
|
14
roles/docker-compose/Debug.md
Normal file
14
roles/docker-compose/Debug.md
Normal file
@ -0,0 +1,14 @@
|
||||
# Debug
|
||||
|
||||
## Bind for 127.0.0.1:XXXX failed: port is already allocated
|
||||
|
||||
If their are port allocated messages ``Bind for 127.0.0.1:XXXX failed: port is already allocated"`` execute the following command:
|
||||
|
||||
```bash
|
||||
find /opt/docker -maxdepth 1 -type d -exec bash -c '[ -f "{}/docker-compose.yml" ] && echo "Stopping: {}" && docker compose -f "{}/docker-compose.yml" down' \; &
|
||||
systemctl restart docker
|
||||
find /opt/docker -maxdepth 1 -type d -exec bash -c '[ -f "{}/docker-compose.yml" ] && echo "Starting: {}" && docker compose -f "{}/docker-compose.yml" up -d' \; &
|
||||
```
|
||||
|
||||
Then try to run the ansible script again.
|
||||
|
Loading…
x
Reference in New Issue
Block a user