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:
@@ -4,7 +4,7 @@
|
||||
|
||||
- name: "include create-domains.yml"
|
||||
include_tasks: create-domains.yml
|
||||
loop: "{{ mastodon_domains }}"
|
||||
loop: "{{ [domain] + domains.mastodon_alternates }}"
|
||||
loop_control:
|
||||
loop_var: domain
|
||||
|
||||
|
@@ -28,7 +28,7 @@ services:
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1']
|
||||
ports:
|
||||
- "127.0.0.1:{{stream_port}}:4000"
|
||||
- "127.0.0.1:{{ports.localhost.web_socket[application_id]}}:4000"
|
||||
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
|
||||
logging:
|
||||
driver: journald
|
||||
|
@@ -37,7 +37,7 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header Proxy "";
|
||||
|
||||
proxy_pass http://127.0.0.1:{{stream_port}};
|
||||
proxy_pass http://127.0.0.1:{{ports.localhost.web_socket[application_id]}};
|
||||
proxy_buffering off;
|
||||
proxy_redirect off;
|
||||
proxy_http_version 1.1;
|
||||
|
@@ -1,3 +1,3 @@
|
||||
docker_compose_project_name: "mastodon"
|
||||
database_password: "{{mastodon_database_password}}"
|
||||
database_type: "postgres"
|
||||
application_id: "mastodon"
|
||||
database_password: "{{mastodon_database_password}}"
|
||||
database_type: "postgres"
|
Reference in New Issue
Block a user