synapse/_config.sh
author Peter Gervai <grin@grin.hu>
Mon, 24 Jan 2022 10:21:08 +0100
changeset 6 85afc1496738
parent 5 2128a557be76
child 7 6aea45bf033b
permissions -rwxr-xr-x
madmin shows v2 delete room example
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
4216bf35912e Init repo; my matrix stuff
Peter Gervai <grin@grin.hu>
parents:
diff changeset
     1
#!/bin/sh
4216bf35912e Init repo; my matrix stuff
Peter Gervai <grin@grin.hu>
parents:
diff changeset
     2
# (cc) Peter 'grin' Gervai, 2020
4216bf35912e Init repo; my matrix stuff
Peter Gervai <grin@grin.hu>
parents:
diff changeset
     3
5
2128a557be76 Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents: 1
diff changeset
     4
# synapse api
2128a557be76 Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents: 1
diff changeset
     5
export  SRV="https://matrix.example.org:8448"
2128a557be76 Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents: 1
diff changeset
     6
# database readonly
2128a557be76 Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents: 1
diff changeset
     7
export   DB="postgresql://matrixro:password@localhost:5432/synapse"
2128a557be76 Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents: 1
diff changeset
     8
# database r/w
2128a557be76 Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents: 1
diff changeset
     9
export DBRW="postgresql://synapse:passwordd@localhost:5432/synapse"
2128a557be76 Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents: 1
diff changeset
    10
# token
2128a557be76 Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents: 1
diff changeset
    11
export    T="MDAxNabCadacada111..."