Synapse. Adding bind mount for SSL/TLS certificates.
This commit is contained in:
parent
5aaedc0b8e
commit
8b07016cc2
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue