25 lines
528 B
YAML
25 lines
528 B
YAML
|
version: '3'
|
||
|
services:
|
||
|
synapse:
|
||
|
image: matrixdotorg/synapse:${SYNAPSE_VERSION}
|
||
|
ports:
|
||
|
- "8008:8008/tcp"
|
||
|
volumes:
|
||
|
- /mnt/synapse_data:/data
|
||
|
- ./config:/config
|
||
|
ports:
|
||
|
- "8008:8008/tcp"
|
||
|
command:
|
||
|
- run
|
||
|
- --config-path=/config/homeserver.yaml
|
||
|
# - --config-path=/config/generic_worker.yaml
|
||
|
restart: always
|
||
|
nginx:
|
||
|
image: nginx:${NGINX_VERSION}
|
||
|
ports:
|
||
|
- "80:80/tcp"
|
||
|
- "443:443/tcp"
|
||
|
volumes:
|
||
|
- ./nginx:/etc/nginx/conf.d
|
||
|
- /ssl:/ssl
|