70 lines
2.4 KiB
YAML
70 lines
2.4 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 (or .env) 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
|
|
|
|
# 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
|
|
# =============================================================================
|
|
spaces:
|
|
crypto-commons:
|
|
# The primary domain users visit
|
|
primary_domain: socials.crypto-commons.org
|
|
# Fallback domain on rsocials.online (redirects to primary)
|
|
fallback_domain: socials.rsocials.online
|
|
# Email sender for this space
|
|
email_from: noreply@rmail.online
|
|
# Services to deploy for this space
|
|
services:
|
|
- postiz
|
|
|
|
# -----------------------------------------------------------------------
|
|
# Example: Adding a new space
|
|
# -----------------------------------------------------------------------
|
|
# mycofi:
|
|
# primary_domain: socials.mycofi.earth
|
|
# fallback_domain: mycofi.rsocials.online
|
|
# email_from: noreply@mycofi.earth
|
|
# # Override defaults if needed:
|
|
# # postiz:
|
|
# # disable_registration: true
|
|
# # email_from_name: MycoFi Socials
|
|
# services:
|
|
# - postiz
|