rsocials-online/spaces.yml

115 lines
4.2 KiB
YAML

# =============================================================================
# rSpace Community Spaces - Master Configuration
# =============================================================================
#
# This file defines all community spaces (Postiz instances) and their routing.
# Adding a new space = adding a block here + running ./generate.sh
#
# Usage:
# 1. Add a new space block under `spaces:`
# 2. Run: ./generate.sh
# 3. Add secrets to Infisical for the new space
# 4. Deploy: docker compose -f generated/docker-compose.space-<name>.yml up -d
# 5. DNS: The script outputs the Cloudflare CNAME commands to run
#
# Default settings inherited by all spaces (can be overridden per-space)
defaults:
postiz:
image: ghcr.io/gitroomhq/postiz-app:latest
port: 5000
postgres_image: postgres:17-alpine
redis_image: redis:7.2
temporal_image: temporalio/auto-setup:1.28.1
temporal_postgres_image: postgres:16
email_provider: nodemailer
email_from_name: rSocials
email_host: mailcowdockerized-postfix-mailcow-1
email_port: 587
email_secure: false
email_user: noreply@rmail.online
storage_provider: local
upload_directory: /uploads
disable_registration: false
is_general: true
api_limit: 30
# Sablier disabled — Postiz needs Temporal running 24/7 for scheduled posts
sablier: false
# Pocket ID OAuth (enabled by default, per-space client_id/secret in Infisical)
oauth: true
oauth_url: https://auth.jeffemmett.com
oauth_auth_url: https://auth.jeffemmett.com/authorize
oauth_token_url: https://auth.jeffemmett.com/api/oidc/token
oauth_userinfo_url: https://auth.jeffemmett.com/api/oidc/userinfo
oauth_display_name: Pocket ID
oauth_logo_url: https://raw.githubusercontent.com/pocket-id/pocket-id/refs/heads/main/frontend/static/img/static-logo.svg
# Cloudflare tunnel target for DNS CNAME records
cloudflare:
tunnel_id: a838e9dc-0af5-4212-8af2-6864eb15e1b5
tunnel_cname: a838e9dc-0af5-4212-8af2-6864eb15e1b5.cfargotunnel.com
# =============================================================================
# Community Spaces
# =============================================================================
# Each space gets a short `slug` used for container names (postiz-<slug>).
# If omitted, slug defaults to the space key name.
#
# Infisical project for each space stores: JWT_SECRET, POSTGRES_PASSWORD,
# EMAIL_PASS, POSTIZ_OAUTH_CLIENT_ID, POSTIZ_OAUTH_CLIENT_SECRET, and any
# social media API keys.
# =============================================================================
spaces:
crypto-commons:
slug: cc
primary_domain: socials.crypto-commons.org
fallback_domain: socials.valleyofthecommons.com
email_from: noreply@rmail.online
infisical_project_id: a76d3d2c-205e-4356-a8ad-2a2c19724d8c
infisical_slug: postiz-crypto-commons
postiz:
disable_registration: true
email_from_name: Crypto Commons
services:
- postiz
p2pfoundation:
slug: p2pf
primary_domain: p2pf.rsocials.online
fallback_domain: socials.p2pfoundation.net
email_from: noreply@rmail.online
infisical_project_id: ea4b3b47-12d5-40d1-9a80-30bc48cdba7a
infisical_slug: postiz-p2pfoundation
postiz:
email_from_name: P2P Foundation Socials
services:
- postiz
bondingcurve:
slug: bcrg
primary_domain: bondingcurve.rsocials.online
fallback_domain: socials.bondingcurve.tech
email_from: noreply@rmail.online
infisical_project_id: 255cb27d-e8d3-459d-af2c-faff55b46d9f
infisical_slug: postiz-bondingcurve
postiz:
email_from_name: Bonding Curve Research
services:
- postiz
# -----------------------------------------------------------------------
# Example: Adding a new space
# -----------------------------------------------------------------------
# mycofi:
# slug: mycofi # Short name for containers (postiz-mycofi)
# primary_domain: socials.mycofi.earth
# fallback_domain: mycofi.rsocials.online
# email_from: noreply@mycofi.earth
# infisical_project_id: <create in Infisical first>
# postiz:
# disable_registration: true
# email_from_name: MycoFi Socials
# services:
# - postiz