Matrix Riot service #15
|
@ -1,38 +1,42 @@
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
63323530623531666436636366633932313030663465316462623730383562623961373734303630
|
37383765663034396532346138346339646138613131363332623831383766646534356133626630
|
||||||
3961356564343865353430353539626531396462376164360a383662633337353765356364366464
|
3766346661383236336433633762626538343266323866340a353333616330656132376163373061
|
||||||
38363066303165666562393735663435393130396463333131396232386236363566653737323937
|
37323833396431663630346331363662373734353263386238306138313938356235303839363734
|
||||||
3562643633636633310a353731626562616230363536646538303636633262643366653566393538
|
3738376564616239370a666635653063356565306431333963626439303630633834663737323036
|
||||||
39393639313933666330326235333661356335343031353935623737616432333633356533383266
|
64373165616565316534653738353362653339336237373966623635666438363764633938653331
|
||||||
64346438333630306634396534613534303038396662653035623832393339613232333465376436
|
30313534613864346136383635356666663635396162326334393963306530336130383238326337
|
||||||
35623037616532353061373635356536336437303666343239643236323530333534343331346639
|
64313162633835306132316431303436623135303165366165306363643838363964623862393334
|
||||||
34663335383962656534613739626538303663316437613338336562393866313862326336313464
|
36303036636534646438353336626365373036646233356262373436383230366464393561396166
|
||||||
64316438653233663063623938663864623235623463626666653366393062303639653733656534
|
31306130313434666661633166383435303730613637386366663539363432656362336663633730
|
||||||
35333161633638363564386338623739643366346462326434626336323766646462306535616534
|
39386530326661383664353563336130313330633237396561356637623331653862336133316133
|
||||||
31313063343032373732333762626233326233376137656164646666303962633034386437376131
|
31366533646464336434313131353031656634653638383965336563303465373038376131393863
|
||||||
61353235333164333632393964343962323930383861353434336236663437373333373065626635
|
38393039663631343066396132356362333032633462396433303430656264636435323638363663
|
||||||
35396261393031363339656665373235383134383930383238323363323961366162313161653731
|
33326364323866346231653164356631303536393664643963613734336163373331663061623263
|
||||||
33333635303638356338633166646463356533653065663035316563636139303137333733343138
|
32383137373763613465393037383135636633386565646139363034373237323032613066363535
|
||||||
37346164613235373965376131623732376463323265346234376565343364393262306362633933
|
66366138663636633465346239326232336432353666323532656366353763616565333931353736
|
||||||
36633563373932653663353063636238643665363666663536613562626632643235643934663465
|
63346662633165346334383933313231643934386232653038643937656464306365386261326539
|
||||||
63316162316234633561623965353166613939386136333261383830653431616662626366393838
|
64313965663164366138326139626237353835313230393733663133393330323261353537626331
|
||||||
31373861653962633065636637616631623832326565396533386331633034636666336234353662
|
36383733326162383431363861653137393063393336363437393936613237613761346134336233
|
||||||
62356631383334373631306163643161623333363264626436396437666234313637356666663334
|
61343539383435396565613066363730376637616538383431363962656237326661383433303662
|
||||||
34623039376632663839363539386661356666663030663239653634373237313066333337313837
|
39613234393230666434323233663066646430393564313261336436336433613562363066646630
|
||||||
34373530313834303038303839393566643538383138363035613066393239666165303162303932
|
62653733613832386366306537656164336132323333376634346330643730333736323461343333
|
||||||
33653462353638353033303364316433333564303565646165643065626163306365383836333665
|
65396264666265386230616438643135633765303164613135626330313261363865363466613863
|
||||||
30636234373636316265633965356232343762643362613966303063636439396439616130633835
|
35336161316266666263336364343437343864623636326566663063313964386561656335393230
|
||||||
36353062383032333431616434373133633038386530646531363439306263343464313762383866
|
31336334363230383261653432353430633531306631363362346534653966653738623039633463
|
||||||
66313237323336666162393439333737663434353466643631353039343433306264393030356362
|
38333665323961616533326437356238393265373436356162313433643164326435386235343232
|
||||||
63643030666433633631613733376330383034313632303263646439316635656334346439636334
|
61343564643233343234366165623066656431333936383132323930616662366238343233393466
|
||||||
31343235353366646566626431313734666232633539316363396665383434663532356330613462
|
34643232306331633063353266326232323263663531386464313566383438353131643034643535
|
||||||
35653037336532643236326534303335623265633633363462653638316637356230356236383365
|
30383664646238383838386263643466333537316136313666353132663766373765393633353361
|
||||||
66346361653236346366306462383364323662616664393365313238323936303062316136386664
|
35646630373866386235383632356266633530633737363532363235616637653932313434363138
|
||||||
30306366663235353630646537623237623631646139396533633439353839356637386437396132
|
35366631376439386239396135636463306661643438643431316134663338656330333732613464
|
||||||
36626139316335653333313037666231353734623436316563633763396637313233333938376130
|
31336164626235323863386235343930343963356136373733666639393263343630623932646338
|
||||||
30326364383833376161326563633166373631643762663063353764313665616335663233316336
|
62333039663237333731316135643735393932373731663066666239353338376538376162306138
|
||||||
61393735343734653136613539613262343331343938363364343530656234393839313830303133
|
65313733303262663634343832643566343331396266363163653335363262343861613439663734
|
||||||
38363630343262646230366234313538306430646161626534353030396661626336326230376261
|
39393631336135303338366230373961373865316338356133613738613366613336643436383238
|
||||||
65303231616238393430643533366630613361653431336432383331376533616665326537626336
|
65656431636536393830393862623263356532613461353863613230336238346664343132623737
|
||||||
34313439623232326166373636633135303766636133303465656332653633356339363761623833
|
32313037363365656263663237663736623762316566356139646535363836633366356438333062
|
||||||
63313762346233623338356466623638316466646436323238663434666232343765
|
34376162343061343064383935313463656634333564666261616661653866343062383061303661
|
||||||
|
39326164306564366662656630323164363533323865393237616265623131343039353864656332
|
||||||
|
63623863663134393266323532386366643961306561373934313832613362643534323630363033
|
||||||
|
30353433643234316533636330643538643463646164333362633535383865656663396539653131
|
||||||
|
65633164363633666266623139666437616530343130336236633137303334303261
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"default_hs_url": "https://matrix.org",
|
"default_hs_url": "https://{{ matrix.domain }}",
|
||||||
"default_is_url": "https://vector.im",
|
"default_is_url": "https://vector.im",
|
||||||
"brand": "Riot",
|
"brand": "riot.data.coop",
|
||||||
"integrations_ui_url": "https://scalar-staging.riot.im/scalar-web/",
|
"integrations_ui_url": "https://scalar-staging.riot.im/scalar-web/",
|
||||||
"integrations_rest_url": "https://scalar-staging.riot.im/scalar/api",
|
"integrations_rest_url": "https://scalar-staging.riot.im/scalar/api",
|
||||||
"integrations_widgets_urls": [
|
"integrations_widgets_urls": [
|
||||||
|
@ -23,17 +23,6 @@
|
||||||
"feature_tabbed_settings": "labs",
|
"feature_tabbed_settings": "labs",
|
||||||
"feature_sas": "labs"
|
"feature_sas": "labs"
|
||||||
},
|
},
|
||||||
"teamServerConfig": {
|
|
||||||
"supportEmail": "support@riot.im",
|
|
||||||
"teamServerURL": "https://riot.im/rts"
|
|
||||||
},
|
|
||||||
"teamTokenMap": {
|
|
||||||
"matrix": "88b6e5b3785960ab",
|
|
||||||
"geektime": "00065f1403571278",
|
|
||||||
"chatbotsummit": "ff5218fc50552903",
|
|
||||||
"studenthack": "2fa79727cc3f56df"
|
|
||||||
},
|
|
||||||
"referralBaseUrl": "https://riot.im/develop",
|
|
||||||
"welcomeUserId": "@riot-bot:matrix.org",
|
"welcomeUserId": "@riot-bot:matrix.org",
|
||||||
"piwik": {
|
"piwik": {
|
||||||
"url": "https://piwik.riot.im/",
|
"url": "https://piwik.riot.im/",
|
||||||
|
@ -42,11 +31,11 @@
|
||||||
},
|
},
|
||||||
"roomDirectory": {
|
"roomDirectory": {
|
||||||
"servers": [
|
"servers": [
|
||||||
"matrix.org"
|
"matrix.data.coop"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"enable_presence_by_hs_url": {
|
"enable_presence_by_hs_url": {
|
||||||
"https://matrix.org": false
|
"https://matrix.data.coop": false
|
||||||
},
|
},
|
||||||
"terms_and_conditions_links": [
|
"terms_and_conditions_links": [
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1 @@
|
||||||
-p 8765
|
|
||||||
-A matrix
|
|
||||||
-c 3500
|
-c 3500
|
||||||
|
|
|
@ -22,20 +22,6 @@
|
||||||
src: files/configs/riot.im.conf
|
src: files/configs/riot.im.conf
|
||||||
dest: /var/lib/docker/volumes/riot_app/_data/riot.im.conf
|
dest: /var/lib/docker/volumes/riot_app/_data/riot.im.conf
|
||||||
|
|
||||||
- name: matrix container
|
|
||||||
docker_container:
|
|
||||||
name: matrix
|
|
||||||
image: matrixdotorg/synapse:latest
|
|
||||||
networks:
|
|
||||||
- name: matrix
|
|
||||||
env:
|
|
||||||
SYNAPSE_SERVER_NAME: "{{ matrix.domain }}"
|
|
||||||
SYNAPSE_REPORT_STATS: False
|
|
||||||
SYNAPSE_ENABLE_REGISTRATION: True
|
|
||||||
SYNAPSE_LOG_LEVEL: INFO
|
|
||||||
POSTGRES_HOST: "matrix_db"
|
|
||||||
POSTGRES_PASSWORD: "{{ postgres_passwords.matrix }}"
|
|
||||||
|
|
||||||
- name: matrix database container
|
- name: matrix database container
|
||||||
docker_container:
|
docker_container:
|
||||||
name: matrix_db
|
name: matrix_db
|
||||||
|
@ -47,10 +33,30 @@
|
||||||
volumes:
|
volumes:
|
||||||
- matrix_db:/var/lib/postgresql/data
|
- matrix_db:/var/lib/postgresql/data
|
||||||
env:
|
env:
|
||||||
POSTGRES_DB: somethingelse
|
POSTGRES_USER: "synapse"
|
||||||
POSTGRES_USER: matrix
|
|
||||||
POSTGRES_PASSWORD: "{{ postgres_passwords.matrix }}"
|
POSTGRES_PASSWORD: "{{ postgres_passwords.matrix }}"
|
||||||
|
|
||||||
|
- name: matrix container
|
||||||
|
docker_container:
|
||||||
|
name: matrix
|
||||||
|
image: matrixdotorg/synapse:latest
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
networks:
|
||||||
|
- name: matrix
|
||||||
|
env:
|
||||||
|
SYNAPSE_SERVER_NAME: "{{ matrix.domain }}"
|
||||||
|
SYNAPSE_REPORT_STATS: "False"
|
||||||
|
SYNAPSE_ENABLE_REGISTRATION: "True"
|
||||||
|
SYNAPSE_LOG_LEVEL: "INFO"
|
||||||
|
SYNAPSE_NO_TLS: "1"
|
||||||
|
POSTGRES_HOST: "matrix_db"
|
||||||
|
POSTGRES_USER: "synapse"
|
||||||
|
POSTGRES_PASSWORD: "{{ postgres_passwords.matrix }}"
|
||||||
|
VIRTUAL_HOST: "{{ matrix.domain }}"
|
||||||
|
VIRTUAL_PORT: "8008"
|
||||||
|
LETSENCRYPT_HOST: "{{ matrix.domain }}"
|
||||||
|
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
||||||
|
|
||||||
- name: riot container
|
- name: riot container
|
||||||
docker_container:
|
docker_container:
|
||||||
name: riot_app
|
name: riot_app
|
||||||
|
@ -62,8 +68,11 @@
|
||||||
- name: external_services
|
- name: external_services
|
||||||
volumes:
|
volumes:
|
||||||
- riot_app:/data
|
- riot_app:/data
|
||||||
|
published_ports:
|
||||||
|
- 8080
|
||||||
env:
|
env:
|
||||||
VIRTUAL_HOST: "{{ riot.domain }}"
|
VIRTUAL_HOST: "{{ riot.domain }}"
|
||||||
|
VIRTUAL_PORT: "8080"
|
||||||
LETSENCRYPT_HOST: "{{ riot.domain }}"
|
LETSENCRYPT_HOST: "{{ riot.domain }}"
|
||||||
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
||||||
|
|
Loading…
Reference in a new issue