Files
PRIVIX/docker-compose.yaml
T
2026-03-19 09:25:52 +01:00

35 lines
805 B
YAML

services:
postgres:
image: postgres:16-alpine
container_name: matrix_postgres
restart: unless-stopped
environment:
POSTGRES_USER: synapse
POSTGRES_PASSWORD: bytt_dette
POSTGRES_DB: synapse
volumes:
- ./postgres:/var/lib/postgresql/data
synapse:
image: ghcr.io/element-hq/synapse:latest
container_name: matrix_synapse
restart: unless-stopped
depends_on:
- postgres
environment:
SYNAPSE_SERVER_NAME: chat.dittdomene.no
SYNAPSE_REPORT_STATS: "no"
volumes:
- ./synapse:/data
ports:
- "8008:8008"
element:
image: vectorim/element-web:latest
container_name: matrix_element
restart: unless-stopped
volumes:
- ./element-config.json:/app/config.json:ro
ports:
- "8080:80"