secubox-openwrt/package/secubox/secubox-app-gotosocial/files/etc/config/gotosocial
CyberMind-FR b8d34e7e3a fix(haproxy): Use LAN IP for backends (HAProxy runs in LXC container)
- metablogizer: Use network.lan.ipaddr instead of 127.0.0.1 for server address
- service-registry: Same fix for emancipate function
- hexojs: Same fix for HAProxy backend creation
- gotosocial: Switch from LXC to direct execution mode
  - v0.18.0 has cgroup bugs, using v0.17.0 instead
  - Remove LXC container dependency
  - Use /srv/gotosocial for binary and data
  - Add proper PID file management

The HAProxy container cannot reach 127.0.0.1 on the host, so all HAProxy
backend servers must use the LAN IP (typically 192.168.255.1).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-13 14:49:50 +01:00

40 lines
1.0 KiB
Plaintext

config gotosocial 'main'
option enabled '0'
option host 'social.example.com'
option port '8484'
option protocol 'https'
option bind_address '0.0.0.0'
option db_type 'sqlite'
option db_path '/data/gotosocial.db'
option storage_path '/data/storage'
option letsencrypt_enabled '0'
option letsencrypt_email ''
option instance_name 'SecuBox Social'
option instance_description 'A SecuBox Fediverse instance'
option accounts_registration_open '0'
option accounts_approval_required '1'
config lxc 'container'
option rootfs_path '/srv/lxc/gotosocial/rootfs'
option data_path '/srv/gotosocial'
option memory_limit '512M'
option version '0.17.0'
config haproxy 'proxy'
option enabled '0'
option backend_name 'gotosocial'
option vhost_domain ''
option ssl_enabled '1'
option acme_enabled '1'
config federation 'federation'
option enabled '1'
option auto_approve_followers '0'
option blocked_domains ''
option allowed_domains ''
config mesh 'mesh'
option auto_federate '1'
option announce_to_peers '1'
option share_blocklist '1'