THE HUGE REFACTORING CALENDER WEEK 33; Optimized Matrix and during this updated variables, and implemented better reset and cleanup mode handling, also solved some initial setup bugs

This commit is contained in:
2025-08-15 15:15:48 +02:00
parent 0228014d34
commit 022800425d
271 changed files with 1098 additions and 916 deletions

View File

@@ -7,7 +7,7 @@ watch -n 2 "docker ps -a | grep peertube"
## clean rebuild
```bash
cd {{path_docker_compose_instances}}peertube/ &&
cd {{ PATH_DOCKER_COMPOSE_INSTANCES }}peertube/ &&
docker-compose down
docker volume rm peertube_assets peertube_config peertube_data peertube_database peertube_redis
docker-compose up -d

View File

@@ -1,9 +1,9 @@
- name: "include role for {{application_id}} to receive certs & do modification routines"
- name: "include role for {{ application_id }} to receive certs & do modification routines"
include_role:
name: srv-web-7-6-composer
- name: configure {{domain}}.conf
- name: configure {{ domain }}.conf
template:
src: "templates/peertube.conf.j2"
dest: "{{nginx.directories.http.servers}}{{domain}}.conf"
dest: "{{ NGINX.DIRECTORIES.HTTP.SERVERS }}{{ domain }}.conf"
notify: restart openresty

View File

@@ -9,7 +9,7 @@
http_port: "{{ ports.localhost.http[application_id] }}"
ws_port: "{{ ports.localhost.http[application_id] }}"
- name: "load docker and db for {{application_id}}"
- name: "load docker and db for {{ application_id }}"
include_role:
name: cmp-db-docker

View File

@@ -8,7 +8,7 @@ PEERTUBE_DB_SSL=false
PEERTUBE_DB_HOSTNAME={{database_host}}
# PeerTube server configuration
PEERTUBE_WEBSERVER_HOSTNAME={{domains | get_domain(application_id)}}
PEERTUBE_WEBSERVER_HOSTNAME={{ domains | get_domain(application_id) }}
PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback"]
PEERTUBE_SECRET={{applications | get_app_conf(application_id, 'credentials.secret', True)}}

View File

@@ -1,5 +1,5 @@
server {
server_name {{domain}};
server_name {{ domain }};
{% include 'roles/srv-web-7-7-letsencrypt/templates/ssl_header.j2' %}