mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 15:28:12 +02:00
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:
@@ -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
|
||||
|
@@ -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
|
@@ -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
|
||||
|
||||
|
@@ -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)}}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
server {
|
||||
server_name {{domain}};
|
||||
server_name {{ domain }};
|
||||
|
||||
{% include 'roles/srv-web-7-7-letsencrypt/templates/ssl_header.j2' %}
|
||||
|
||||
|
Reference in New Issue
Block a user