mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-20 17:26:04 +02:00
web-app-bluesky: enable custom AppView domain and refactor DNS records
- Un-commented `view.bluesky.{{ PRIMARY_DOMAIN }}` in config to allow explicit AppView domain definition. - Reworked `03_dns.yml` to build `cloudflare_records` list programmatically, including conditional addition of AppView records only if the domain is not `api.bsky.app`. - Improved AAAA handling with `| default('')` and proper ternary expressions for `present/absent`. - Updated `vars/main.yml` to remove default port fallback for `BLUESKY_VIEW_PORT`. Refs: https://chatgpt.com/share/68cdde1d-1bd4-800f-a4bb-319372752fcd
This commit is contained in:
@@ -30,7 +30,7 @@ BLUESKY_VIEW_ENABLED: "{{ applications | get_app_conf(application_id,
|
||||
BLUESKY_VIEW_DOMAIN: "{{ domains[application_id].view if BLUESKY_VIEW_ENABLED else 'api.bsky.app' }}"
|
||||
BLUESKY_VIEW_URL: "{{ WEB_PROTOCOL }}://{{ BLUESKY_VIEW_DOMAIN }}"
|
||||
BLUESKY_VIEW_DID: "did:web:{{ BLUESKY_VIEW_DOMAIN }}"
|
||||
BLUESKY_VIEW_PORT: "{{ ports.localhost.http['web-app-bluesky_view'] | default(8053) }}"
|
||||
BLUESKY_VIEW_PORT: "{{ ports.localhost.http['web-app-bluesky_view'] }}"
|
||||
|
||||
## Server
|
||||
BLUESKY_API_DOMAIN: "{{ domains[application_id].api }}"
|
||||
|
Reference in New Issue
Block a user