matrix
This commit is contained in:
parent
8971099dc2
commit
951f1883eb
6 changed files with 185 additions and 0 deletions
45
matrix/docker-compose.yml
Normal file
45
matrix/docker-compose.yml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
version: '3.6'
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:14.1-alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./postgresdata:/var/lib/postgresql/data
|
||||
- ./sql_setup.sql:/docker-entrypoint-initdb.d/create_tables.sql
|
||||
|
||||
# These will be used in homeserver.yaml later on
|
||||
env_file:
|
||||
- enviroment.env
|
||||
element:
|
||||
depends_on:
|
||||
- postgres
|
||||
image: vectorim/element-web:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./element-config.json:/app/config.json
|
||||
ports:
|
||||
- 6888:80
|
||||
|
||||
synapse:
|
||||
image: matrixdotorg/synapse:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./synapse:/data
|
||||
ports:
|
||||
- "5888:8008"
|
||||
|
||||
# Achtung: Das auf zu lassen ist ggf. ein Sicherheitsrisiko
|
||||
# synapse-admin:
|
||||
# container_name: synapse-admin
|
||||
# hostname: synapse-admin
|
||||
# build:
|
||||
# context: https://github.com/Awesome-Technologies/synapse-admin.git
|
||||
# args:
|
||||
# - PUBLIC_URL=https://admin.matrix.cdaut.de
|
||||
# - REACT_APP_SERVER=https://matrix.cdaut.de
|
||||
# ports:
|
||||
# - "8999:80"
|
||||
# restart: unless-stopped
|
||||
networks:
|
||||
default:
|
||||
name: matrix_net
|
||||
Loading…
Add table
Add a link
Reference in a new issue