26 lines
573 B
YAML
26 lines
573 B
YAML
|
version: '3'
|
||
|
services:
|
||
|
synapse-admin:
|
||
|
image: matrixdotorg/synapse:${SYNAPSE_VERSION}
|
||
|
volumes:
|
||
|
- /mnt/synapse_data:/data
|
||
|
- ./config:/config
|
||
|
- /mnt/logs/synapse:/logs
|
||
|
command:
|
||
|
- run
|
||
|
- --config-path=/config/homeserver.yaml
|
||
|
restart: always
|
||
|
container_name: synapse-main
|
||
|
|
||
|
nginx:
|
||
|
image: nginx:${NGINX_VERSION}
|
||
|
ports:
|
||
|
- "80:80/tcp"
|
||
|
- "443:443/tcp"
|
||
|
volumes:
|
||
|
- ./nginx:/etc/nginx/conf.d
|
||
|
- /ssl:/ssl
|
||
|
- /mnt/logs/nginx:/var/log/nginx/
|
||
|
restart: unless-stopped
|
||
|
container_name: nginx
|