mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-18 00:06:05 +02:00
Replaced hardcoded path to src/state/geolocation.tsx with variable BLUESKY_GEOLOCATION_PATH pointing to src/state/geolocation/index.tsx. This ensures BAPP_CONFIG_URL and IPCC_URL replacements work with the updated Bluesky code structure. Ref: https://chatgpt.com/share/68cb16d5-d698-800f-97e5-cc7d9016f27c
50 lines
2.6 KiB
YAML
50 lines
2.6 KiB
YAML
# General
|
|
application_id: "web-app-bluesky"
|
|
|
|
## Bluesky
|
|
|
|
## Social App
|
|
BLUESKY_SOCIAL_APP_DIR: "{{ [ docker_compose.directories.services, 'social-app' ] | path_join }}"
|
|
BLUESKY_GEOLOCATION_PATH: "{{ [ BLUESKY_SOCIAL_APP_DIR,'src/state/geolocation/index.tsx' ] | path_join }}"
|
|
|
|
# This should be removed when the following issue is closed:
|
|
# https://github.com/bluesky-social/pds/issues/52
|
|
|
|
## PDS
|
|
BLUESKY_PDSADMIN_DIR: "{{ [ docker_compose.directories.volumes, 'pdsadmin' ] | path_join }}"
|
|
BLUESKY_PDSADMIN_FILE: "{{ [ BLUESKY_PDSADMIN_DIR, 'pdsadmin' ] | path_join }}"
|
|
BLUESKY_PDSADMIN_TMP_TAR: "/tmp/pdsadmin.tar.gz"
|
|
BLUESKY_PDS_IMAGE: "{{ applications | get_app_conf(application_id, 'docker.services.pds.image') }}"
|
|
BLUESKY_PDS_VERSION: "{{ applications | get_app_conf(application_id, 'docker.services.pds.version') }}"
|
|
BLUESKY_PDS_DATA_VOLUME: "{{ applications | get_app_conf(application_id, 'docker.volumes.pds_data') }}"
|
|
BLUESKY_PDS_DATA_DIR: "/opt/pds"
|
|
BLUESKY_PDS_BLOBSTORE_LOCATION: "{{ [ BLUESKY_PDS_DATA_DIR, 'blocks' ] | path_join }}"
|
|
|
|
## Web
|
|
BLUESKY_WEB_ENABLED: "{{ applications | get_app_conf(application_id, 'docker.services.web.enabled') }}"
|
|
BLUESKY_WEB_DOMAIN: "{{ domains[application_id].web }}"
|
|
BLUESKY_WEB_PORT: "{{ ports.localhost.http['web-app-bluesky_web'] }}"
|
|
|
|
## View
|
|
BLUESKY_VIEW_ENABLED: "{{ applications | get_app_conf(application_id, 'docker.services.view.enabled') }}"
|
|
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) }}"
|
|
|
|
## Server
|
|
BLUESKY_API_DOMAIN: "{{ domains[application_id].api }}"
|
|
BLUESKY_API_PORT: "{{ ports.localhost.http['web-app-bluesky_api'] }}"
|
|
|
|
## Credentials
|
|
BLUESKY_JWT_SECRET: "{{ applications | get_app_conf(application_id, 'credentials.jwt_secret') }}"
|
|
BLUESKY_ROTATION_KEY: "{{ applications | get_app_conf(application_id, 'credentials.plc_rotation_key_k256_private_key_hex') }}"
|
|
|
|
## Admin
|
|
BLUESKY_ADMIN_EMAIL: "{{ users.administrator.email }}"
|
|
BLUESKY_ADMIN_PASSWORD: "{{ users.administrator.password }}"
|
|
|
|
# Front proxy
|
|
BLUESKY_FRONT_PROXY_CONTENT: "{{ lookup('template', 'extra_locations.conf.j2') }}"
|
|
BLUESKY_CONFIG_UPSTREAM_URL: "{{ applications | get_app_conf(application_id, 'server.config_upstream_url') }}"
|