adding configfiles
parent
8403529d44
commit
a66d1a7096
@ -0,0 +1,5 @@
|
||||
docker run -it --rm \
|
||||
--mount type=volume,src=synapse-data,dst=/data \
|
||||
-e SYNAPSE_SERVER_NAME=your.domain \
|
||||
-e SYNAPSE_REPORT_STATS=yes \
|
||||
matrixdotorg/synapse:latest generate
|
@ -0,0 +1,23 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
synapse:
|
||||
image: matrixdotorg/synapse:latest
|
||||
restart: always
|
||||
ports:
|
||||
- "8008:8008"
|
||||
volumes:
|
||||
- ./synapse_data/:/data/
|
||||
links:
|
||||
- db
|
||||
db:
|
||||
image: postgres:alpine
|
||||
expose:
|
||||
- 5432
|
||||
restart: always
|
||||
volumes:
|
||||
- ./postgres_data/:/var/lib/postgresql/data/
|
||||
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
environment:
|
||||
POSTGRES_USER: matrix
|
||||
POSTGRES_PASSWORD: your-secret-pw
|
Loading…
Reference in New Issue