Synapse. Adding bind mount for SSL/TLS certificates.

This commit is contained in:
Alexey Skobkin 2020-08-05 23:57:33 +03:00
parent 5aaedc0b8e
commit 8b07016cc2
2 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,7 @@
IMAGE_VERSION=latest IMAGE_VERSION=latest
DATA_PATH=./data DATA_PATH=./data
SSL_PATH=./ssl
HTTP_PORT_INT=8008 HTTP_PORT_INT=8008

View file

@ -10,6 +10,8 @@ services:
- "${INTERFACE_EXT:-127.0.0.1}:${HTTP_PORT_EXT:-8008}:${HTTP_PORT_INT:-8008}/tcp" - "${INTERFACE_EXT:-127.0.0.1}:${HTTP_PORT_EXT:-8008}:${HTTP_PORT_INT:-8008}/tcp"
volumes: volumes:
- "${DATA_PATH:-./data}:/data" - "${DATA_PATH:-./data}:/data"
# SSL certs directory
- "${SSL_PATH:-./ssl}:/ssl:ro"
env_file: .env env_file: .env
restart: unless-stopped restart: unless-stopped
logging: logging: