mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-17 02:10:36 +00:00
scripts: add chat relay docker setup (#7406)
* scripts: add chat relay docker setup * docs: add docker setup to chat relay guide * scripts: bump relay ref and add RTS options * scripts: reduce comments in relay setup * scripts: increase relay pool and queue size * scripts: add relay metrics exporter * docs: trim docker section in chat relay guide * scripts: bump cabal for hackage key rotation * scripts: retry cabal update on mirror failure * scripts: split cabal update into its own layer * scripts: allow setting relay address server * docs: adjust systemd service limits * docs: mention docker volume full path
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# Copy to .env and edit.
|
||||
|
||||
RELAY_NAME="My Relay"
|
||||
RELAY_WEB_DOMAIN=relay1.example.com
|
||||
|
||||
POSTGRES_USER=simplex
|
||||
POSTGRES_DB=simplex_chat_relay
|
||||
POSTGRES_PASSWORD=change-me
|
||||
|
||||
# Ref to build: tag, branch or commit.
|
||||
CHAT_REF=88df79d1e26921c7d1835fc8484fade596356fb6
|
||||
|
||||
# SMP server for the relay address, used when the address is created.
|
||||
#RELAY_ADDRESS_SERVER=smp://<fingerprint>@smp.example.com
|
||||
|
||||
# GHC runtime options, without the +RTS/-RTS markers.
|
||||
#RELAY_RTS_OPTS="-N -F1.2 -A16m -I0.01 -Iw15"
|
||||
|
||||
# Database connection pool and internal queue size.
|
||||
#RELAY_POOL_SIZE=4
|
||||
#RELAY_QUEUE_SIZE=65536
|
||||
Reference in New Issue
Block a user