Line 16: |
Line 16: |
| |tags=File,this,with,a,list,of,tags | | |tags=File,this,with,a,list,of,tags |
| }} | | }} |
− | | + | <blockquote style="float: right;">[[File:Matrix logo.svg|250px]]</blockquote><br> |
| ===Maintainer=== | | ===Maintainer=== |
| [[User:reetp|John Crisp]] | | [[User:reetp|John Crisp]] |
Line 57: |
Line 57: |
| Set up a domain. | | Set up a domain. |
| | | |
− | db domains set matrix.mydomain.com domain\ | + | db domains set matrix.mydomain.net domain\ |
| Content Primary\ | | Content Primary\ |
| Description Matrix\ | | Description Matrix\ |
Line 65: |
Line 65: |
| | | |
| ===Apache=== | | ===Apache=== |
| + | |
| + | Note to self - this looks good inormation |
| + | |
| + | https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/examples/apache/matrix-synapse.conf |
| | | |
| mkdir -p /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualMatrix | | mkdir -p /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualMatrix |
Line 77: |
Line 81: |
| $OUT .=<<_EVERYWHERE; | | $OUT .=<<_EVERYWHERE; |
| <VirtualHost 0.0.0.0:80> | | <VirtualHost 0.0.0.0:80> |
− | ServerName matrix.sovereigninsignia.com | + | ServerName matrix.mydomain.net |
| DocumentRoot /home/e-smith/files/ibays/Primary/html | | DocumentRoot /home/e-smith/files/ibays/Primary/html |
| RewriteEngine on | | RewriteEngine on |
Line 87: |
Line 91: |
| | | |
| $OUT .=<<_THERE; | | $OUT .=<<_THERE; |
| + | Listen 8448 |
| <VirtualHost 0.0.0.0:8448> | | <VirtualHost 0.0.0.0:8448> |
| SSLEngine on | | SSLEngine on |
− | ServerName matrix.sovereigninsignia.com | + | ServerName matrix.mydomain.net |
| RequestHeader set "X-Forwarded-Proto" "https" | | RequestHeader set "X-Forwarded-Proto" "https" |
| AllowEncodedSlashes NoDecode | | AllowEncodedSlashes NoDecode |
Line 102: |
Line 107: |
| <VirtualHost 0.0.0.0:443> | | <VirtualHost 0.0.0.0:443> |
| SSLEngine on | | SSLEngine on |
− | ServerName matrix.sovereigninsignia.com | + | ServerName matrix.mydomain.net |
| ProxyPass /.well-known/acme-challenge/ ! | | ProxyPass /.well-known/acme-challenge/ ! |
| DocumentRoot /home/e-smith/files/ibays/Primary/html | | DocumentRoot /home/e-smith/files/ibays/Primary/html |
Line 131: |
Line 136: |
| version: '2.3' | | version: '2.3' |
| services: | | services: |
− | element:
| + | # Hmmm - desktop app should not be run on the same server as matrix |
− | image: vectorim/element-web:latest
| + | # https://hub.docker.com/r/vectorim/element-web/ |
− | restart: unless-stopped
| + | # element: |
− | volumes:
| + | # image: vectorim/element-web:latest |
− | - ./element-config.json:/app/config.json
| + | # restart: unless-stopped |
| + | # volumes: |
| + | # - ./element-config.json:/app/config.json |
| synapse: | | synapse: |
| container_name: synapse | | container_name: synapse |
Line 143: |
Line 150: |
| - ./data:/data | | - ./data:/data |
| environment: | | environment: |
− | SYNAPSE_SERVER_NAME: "matrix.sovereigninsignia.com" | + | SYNAPSE_SERVER_NAME: "matrix.mydomain.net" |
| SYNAPSE_REPORT_STATS: "yes" | | SYNAPSE_REPORT_STATS: "yes" |
| ports: | | ports: |