first
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user