45 lines
No EOL
1.1 KiB
YAML
45 lines
No EOL
1.1 KiB
YAML
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 |