Added LDAP Draft for Funkwhale

This commit is contained in:
2025-02-12 12:41:13 +01:00
parent c687b19a6d
commit eaca564c6f
31 changed files with 92 additions and 78 deletions

View File

@@ -7,13 +7,13 @@
include_tasks: nginx-docker-proxy-domain.yml
vars:
domain: "{{ domains.bluesky_api }}"
http_port: "{{ ports.localhost.http_ports.bluesky_api }}"
http_port: "{{ ports.localhost.http.bluesky_api }}"
- name: "Include tasks for Web domain"
include_tasks: nginx-docker-proxy-domain.yml
vars:
domain: "{{ domains.bluesky_web }}"
http_port: "{{ ports.localhost.http_ports.bluesky_web }}"
http_port: "{{ ports.localhost.http.bluesky_web }}"
# The following lines should be removed when the following issue is closed:
# https://github.com/bluesky-social/pds/issues/52

View File

@@ -6,7 +6,7 @@ services:
- pds_data:/opt/pds
- {{pdsadmin_file_path}}:/usr/local/bin/pdsadmin:ro
ports:
- "127.0.0.1:{{ports.localhost.http_ports.bluesky_api}}:3000"
- "127.0.0.1:{{ports.localhost.http.bluesky_api}}:3000"
healthcheck:
test: ["CMD", "wget", "--spider", "http://127.0.0.1:3000/xrpc/_health"]
interval: 1m
@@ -27,7 +27,7 @@ services:
REACT_APP_SITE_NAME: "{{primary_domain | upper}} - Bluesky"
REACT_APP_SITE_DESCRIPTION: "Decentral Social "
ports:
- "127.0.0.1:{{ports.localhost.http_ports.bluesky_web}}:8100"
- "127.0.0.1:{{ports.localhost.http.bluesky_web}}:8100"
healthcheck:
test: ["CMD", "sh", "-c", "for pid in $(ls /proc | grep -E '^[0-9]+$'); do if cat /proc/$pid/cmdline 2>/dev/null | grep -q 'bskywebserve'; then exit 0; fi; done; exit 1"]
interval: 30s