From 8b07016cc2fc3a69ffc06296ed20ec2e27c13c32 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Wed, 5 Aug 2020 23:57:33 +0300 Subject: [PATCH] Synapse. Adding bind mount for SSL/TLS certificates. --- synapse/.env.dist | 1 + synapse/docker-compose.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/synapse/.env.dist b/synapse/.env.dist index 878b1d6..fc9c319 100644 --- a/synapse/.env.dist +++ b/synapse/.env.dist @@ -4,6 +4,7 @@ IMAGE_VERSION=latest DATA_PATH=./data +SSL_PATH=./ssl HTTP_PORT_INT=8008 diff --git a/synapse/docker-compose.yml b/synapse/docker-compose.yml index df464f8..b13902a 100644 --- a/synapse/docker-compose.yml +++ b/synapse/docker-compose.yml @@ -10,6 +10,8 @@ services: - "${INTERFACE_EXT:-127.0.0.1}:${HTTP_PORT_EXT:-8008}:${HTTP_PORT_INT:-8008}/tcp" volumes: - "${DATA_PATH:-./data}:/data" + # SSL certs directory + - "${SSL_PATH:-./ssl}:/ssl:ro" env_file: .env restart: unless-stopped logging: